diff options
Diffstat (limited to 'test/Parser/ms-inline-asm.c')
-rw-r--r-- | test/Parser/ms-inline-asm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Parser/ms-inline-asm.c b/test/Parser/ms-inline-asm.c index b1af23e472..3a1efb0984 100644 --- a/test/Parser/ms-inline-asm.c +++ b/test/Parser/ms-inline-asm.c @@ -20,6 +20,13 @@ int t6() { __asm int 4 return 10; } -int t7() { // expected-note {{to match this}} +int t7() { + __asm { + push ebx + mov ebx, 0x07 + pop ebx + } +} +int t_fail() { // expected-note {{to match this}} __asm __asm { // expected-error 3 {{expected}} expected-note {{to match this}} |