2 /* { dg-do compile } */
3 /* { dg-require-alias "" } */
4 /* { dg-require-named-sections "" } */
7 void foo (void) __attribute__ ((alias ("bar"))); /* { dg-error "section of alias 'foo' must match section of its target" } */
8 void foo (void) __attribute__ ((section ("baz")));
9 void qux (void) __attribute__ ((alias ("bar"), section ("baz"))); /* { dg-error "section of alias 'qux' must match section of its target" } */