PR middle-end/77674
[official-gcc.git] / gcc / testsuite / c-c++-common / pr67639.c
blobaa19ba4eda373399624277118a2d102a965b1c66
1 /* { dg-do compile } */
2 void
3 foo (int p)
5 int t;
6 register long x asm ("rhubarb") = p; /* { dg-error "register name" } */
7 __asm ("" : "=r" (t), "=r" (t), "=r" (t), "=r" (x) : "0" (x));