1 /* GCC should allow struct S to be in a register, but it doesn't. This is
2 an obscure corner case, hasn't worked since 1994, and we don't expect it
3 to work anytime soon, hence XFAIL. */
4 /* { dg-do compile } */
6 struct S
{ volatile int field
; };
7 int f (register struct S arg
); /* { dg-bogus "volatile field" "with arg" { xfail *-*-* } } */
8 int g (register struct S
); /* { dg-bogus "volatile field" "no arg" { xfail *-*-* } } */