mirror of
https://github.com/intel/llvm.git
synced 2026-01-31 16:29:50 +08:00
[ms-inline asm] Test case for r172773.
llvm-svn: 172774
This commit is contained in:
@@ -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!}}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user