xref: /minix3/external/bsd/llvm/dist/clang/test/Parser/ms-inline-asm-nested-braces.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // REQUIRES: x86-registered-target
2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -triple i386-apple-darwin10 -verify -fasm-blocks
3*0a6a1f1dSLionel Sambuc 
t_fail()4*0a6a1f1dSLionel Sambuc int t_fail() { // expected-note {{to match this}}
5*0a6a1f1dSLionel Sambuc   __asm
6*0a6a1f1dSLionel Sambuc   { // expected-note {{to match this}}
7*0a6a1f1dSLionel Sambuc     { // expected-note {{to match this}}
8*0a6a1f1dSLionel Sambuc       {
9*0a6a1f1dSLionel Sambuc       } // expected-error 3 {{expected}}
10