3 // Make sure inlined non-outlined functions aren't marked weak.
4 // We'd get a ".weak xyzzy" annotation trigged by the second declaration.
6 // { dg-final { scan-assembler-not "weak\[^ \t\]*\[ \t\]_?xyzzy" } }
8 // The next check isn't really part of the actual test, just to make
9 // sure there's no outline-copy of xyzzy, because if that really
10 // happened, it *should* be marked linkonce or perhaps weak.
11 // { dg-final { scan-assembler-not "xyzzy" } }
14 extern void foo(void);
15 extern void bar(void);
17 extern "C" inline int xyzzy(int a)
23 extern "C" int xyzzy(int);
25 extern inline int plugh(int c)
33 y = xyzzy (b) + plugh (b);