[ms-inline asm] Test case for r170037.
authorChad Rosier <mcrosier@apple.com>
Wed, 12 Dec 2012 22:46:23 +0000 (22:46 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 12 Dec 2012 22:46:23 +0000 (22:46 +0000)
llvm-svn: 170038

clang/test/Sema/ms-inline-asm.c

index 8cdd547..538d56a 100644 (file)
@@ -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!}}
+  }
 }