[cfe-commits] r170038 - /cfe/trunk/test/Sema/ms-inline-asm.c
Chad Rosier
mcrosier at apple.com
Wed Dec 12 14:46:23 PST 2012
Author: mcrosier
Date: Wed Dec 12 16:46:23 2012
New Revision: 170038
URL: http://llvm.org/viewvc/llvm-project?rev=170038&view=rev
Log:
[ms-inline asm] Test case for r170037.
Modified:
cfe/trunk/test/Sema/ms-inline-asm.c
Modified: cfe/trunk/test/Sema/ms-inline-asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/ms-inline-asm.c?rev=170038&r1=170037&r2=170038&view=diff
==============================================================================
--- cfe/trunk/test/Sema/ms-inline-asm.c (original)
+++ cfe/trunk/test/Sema/ms-inline-asm.c Wed Dec 12 16:46:23 2012
@@ -31,5 +31,8 @@
__asm {
mov eax, LENGTH foo // expected-error {{Unsupported directive!}}
}
-
+ f();
+ __asm {
+ mov eax, TYPE bar // expected-error {{Unable to lookup TYPE of expr!}}
+ }
}
More information about the cfe-commits
mailing list