Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / pr18809-1.c
blob5be41809da6519cda81c9fcd4c74bec3c46a874b
1 /* PR c/18809 */
2 /* Origin: Andrew Pinski <pinskia@gcc.gnu.org> */
4 /* { dg-do compile } */
6 void foo(enum E e) {} /* { dg-error "forward ref" "forward" } */
7 /* { dg-warning "declared" "declared" { target *-*-* } .-1 } */
8 /* { dg-error "incomplete" "incomplete" { target *-*-* } .-2 } */
9 void bar() { foo(0); }