summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43638.c
blob: 9af06aedeb323ce5b7c3e9a11a79b28843ce1d75 (plain)
1
2
3
4
5
6
7
8
9
/* PR target/43638 */
/* { dg-do compile } */

void
foo (void)
{
  int x;
  __asm __volatile ("mov $0,%e0" : "=r" (x));	/* { dg-error "invalid operand code" } */
}