* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / 940409-1.c
blob2d20b891f3f36be6d7c0932efc1197828dc0ce06
1 /* GCC should allow struct S to be in a register. */
2 /* { dg-do compile } */
4 struct S { volatile int field; };
5 int f (register struct S arg); /* { dg-bogus "volatile field" "with arg" } */
6 int g (register struct S); /* { dg-bogus "volatile field" "no arg" } */