OSDN Git Service

* gcc.dg/march.c: Ignore a note for some targets.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 940409-1.c
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" } */