summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Sema/ms-inline-asm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/Sema/ms-inline-asm.c b/clang/test/Sema/ms-inline-asm.c
index 8cdd54780d1..538d56ae66e 100644
--- a/clang/test/Sema/ms-inline-asm.c
+++ b/clang/test/Sema/ms-inline-asm.c
@@ -31,5 +31,8 @@ void f() {
__asm {
mov eax, LENGTH foo // expected-error {{Unsupported directive!}}
}
-
+ f();
+ __asm {
+ mov eax, TYPE bar // expected-error {{Unable to lookup TYPE of expr!}}
+ }
}
OpenPOWER on IntegriCloud