Fix a typo in gcc.dg/pg-override.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pg-override.c
blob60be162f29041d81f64c724e0c893c9ae126dad2
1 /* Test -fprofile override */
2 /* { dg-do compile } */
3 /* { dg-options "-fprofile" { target i?86-*-* x86_64-*-* } } */
4 /* { dg-final { scan-assembler-not "mcount" } } */
5 /* Origin: Andi Kleen */
6 extern void foobar(const char *);
8 __attribute__((no_instrument_function)) void func(void)
10 foobar ("Hello world\n");
13 __attribute__((no_instrument_function)) void func2(void)
15 int i;
16 for (i = 0; i < 10; i++)
17 foobar ("Hello world");