aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/asm-dialect-2.c
blob: 8386d64e52ca6a8185531145c2354e101068cbd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-masm=att" } */
/* { dg-final { scan-assembler "%{a}|" } } */

int a, b;

void f()
{
  /* Check for escaped curly braces support.  */
  asm volatile ("{%%%{a%}%||%%%}b}" : :);
}