1/* GCC should allow struct S to be in a register. */
2/* { dg-do compile } */
3
4struct S { volatile int field; };
5int f (register struct S arg); /* { dg-bogus "volatile field" "with arg" } */
6int g (register struct S); /* { dg-bogus "volatile field" "no arg" } */
7