1 /* GCC should allow struct S to be in a register. */
2 /* { dg-do compile } */
3
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" } */
7