Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / register-var-2.c
blob585dfe2bb62bf002822a3f3c1049a2b18b163bb7
1 /* PR/18160 */
3 /* { dg-do compile } */
5 /* This should yield an error even without -pedantic. */
6 /* { dg-options "-ansi" } */
8 void g(int *);
10 void f(void)
12 register int x;
13 g(&x); /* { dg-error "error: address of register variable" } */