* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / asan / use-after-scope-7.c
blob4115205916063e10eb5c4c9fc220388bc1dfccb4
1 // { dg-do run }
2 // { dg-additional-options "-fno-sanitize-address-use-after-scope" }
4 int
5 main (void)
7 char *ptr;
9 char my_char[9];
10 ptr = &my_char[0];
13 *ptr = 'c';
14 return 0;