aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr55934.c
blob: ea489559c9328447689e6a3e6abfcee667f6a129 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR inline-asm/55934 */
/* { dg-do compile } */
/* { dg-require-effective-target sse } */
/* { dg-options "-std=c99 -msse" } */
_Complex float
foo (void)
{
  _Complex float x;
  __asm ("" : "=x" (x)); /* { dg-error "inconsistent .* constraint" } */
  return x;
}