Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/asan/pr88333.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* PR sanitizer/88333 */ | |
2 /* { dg-do compile { target fstack_protector } } */ | |
3 /* { dg-options "-fstack-protector-strong -fsanitize=address" } */ | |
4 | |
5 void bar (int *); | |
6 | |
7 void | |
8 foo (void) | |
9 { | |
10 int c; | |
11 bar (&c); | |
12 } |