aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/asan/pr104449.c
blob: 50540273a3d3a7f9d2f9ca70ec4549b4c956459e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR sanitizer/104449 */
/* { dg-do compile } */
/* { dg-options "-fexceptions -fsanitize=address -fstack-check=generic" } */

void bar (int *);

void
foo (void)
{
  int a[16];
  bar (a);
}