Debian Codegraph @

gcc/testsuite/gcc.target/i386/x86-needed-1.c

raw
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-fcf-protection -march=x86-64 -mneeded" } */
3 /* { dg-final { scan-assembler-times ".note.gnu.property" 1 } } */
4 /* { dg-final { scan-assembler-times ".long 0xc0000002" 1 } } */
5 /* { dg-final { scan-assembler-times ".long 0xc0008002" 1 } } */
6
7 extern void foo (void);
8
9 void
10 bar (void)
11 {
12 foo ();
13 }