summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/920507-1.c
blob: c1a3523008ce5ad9286db3b25aac8e0da051223a (plain)
1
2
3
4
5
6
7
int *
x(void)
{
 register int *a asm("unknown_register");  /* { dg-error "invalid register" } */
 int *v[1] = {a};
 return v[1];
}