diff options
Diffstat (limited to 'clang/test/Parser/ms-inline-asm.c')
-rw-r--r-- | clang/test/Parser/ms-inline-asm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Parser/ms-inline-asm.c b/clang/test/Parser/ms-inline-asm.c index 564f0081d38..00508f5cf09 100644 --- a/clang/test/Parser/ms-inline-asm.c +++ b/clang/test/Parser/ms-inline-asm.c @@ -45,6 +45,9 @@ void t10() { } } } +void t11() { + do { __asm mov eax, 0 __asm { __asm mov edx, 1 } } while(0); +} int t_fail() { // expected-note {{to match this}} __asm __asm { // expected-error 3 {{expected}} expected-note {{to match this}} |