summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/920507-1.c
blob: 7024a5b03a0abddb294c9f88b9e4d971dc15492f (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[0];
}