aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/ms-inline-asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/ms-inline-asm.c')
-rw-r--r--test/Parser/ms-inline-asm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/ms-inline-asm.c b/test/Parser/ms-inline-asm.c
index 3a1efb0984..1c8c881dec 100644
--- a/test/Parser/ms-inline-asm.c
+++ b/test/Parser/ms-inline-asm.c
@@ -27,6 +27,12 @@ int t7() {
pop ebx
}
}
+void t8() {
+ __asm nop __asm nop __asm nop
+}
+void t9() {
+ __asm nop __asm nop ; __asm nop
+}
int t_fail() { // expected-note {{to match this}}
__asm
__asm { // expected-error 3 {{expected}} expected-note {{to match this}}