Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / alias-3.c
blob3dc25a91c49adc3285418ce6cfb76b22d19c176f
1 /* { dg-do compile } */
2 /* { dg-require-alias "" } */
3 /* { dg-options "" } */
5 extern int foo();
7 int baz () { return foo(); }
9 static inline int bar () __attribute__ ((alias ("foo"))); /* { dg-error "aliased to" } */
11 int main () { return bar (); }