aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr18725.c
blob: 0282d3b61ed48fd6d48d096d5fd3cf3da922f798 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "" } */

void
f (void)
{
   int x = 1;
   asm ("" : "" (x), "" (x)); /* { dg-error "output operand constraint lacks" } */
}