summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/asm-1.c
blob: 348dc32dd326c3a553cecdad3e8e69eb3692ab20 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-m32" } */

register unsigned int EAX asm ("r14"); /* { dg-error "register name" } */

void foo ()
{
  EAX = 0;
}