[ms-inline asm] Test case for r172773.

llvm-svn: 172774
This commit is contained in:
Chad Rosier 2013-01-18 00:51:29 +00:00
parent 1e8f053bd1
commit 92c487d13c
1 changed files with 12 additions and 0 deletions

View File

@ -19,4 +19,16 @@ void f() {
__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!}}
}
}