[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / alias-13.c
blob85e1f8744bc75175f35195b7f7acc3e51626c9bf
1 /* { dg-do compile } */
2 /* { dg-require-alias "" } */
3 /* { dg-options "-O2" } */
4 static void f (void) __attribute__((alias("g"))); static void g (void) __attribute__((alias("f"))); // { dg-error "part of alias cycle" }
6 void h ()
8 f ();