[cfe-commits] r172774 - /cfe/trunk/test/Sema/ms-inline-asm.c
Chad Rosier
mcrosier at apple.com
Thu Jan 17 16:51:30 PST 2013
Author: mcrosier
Date: Thu Jan 17 18:51:29 2013
New Revision: 172774
URL: http://llvm.org/viewvc/llvm-project?rev=172774&view=rev
Log:
[ms-inline asm] Test case for r172773.
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=172774&r1=172773&r2=172774&view=diff
==============================================================================
--- cfe/trunk/test/Sema/ms-inline-asm.c (original)
+++ cfe/trunk/test/Sema/ms-inline-asm.c Thu Jan 17 18:51:29 2013
@@ -19,4 +19,16 @@
__asm {
mov eax, 1+++ // expected-error 2 {{unknown token in expression}}
}
+ f();
+ __asm {
+ mov eax, LENGTH bar // expected-error {{Unable to lookup expr!}}
+ }
+ f();
+ __asm {
+ mov eax, SIZE bar // expected-error {{Unable to lookup expr!}}
+ }
+ f();
+ __asm {
+ mov eax, TYPE bar // expected-error {{Unable to lookup expr!}}
+ }
}
More information about the cfe-commits
mailing list