forked from OSchip/llvm-project
MS inline asm: Add tests for LLVM r214468
This used to assert. llvm-svn: 214551
This commit is contained in:
parent
5b37c18129
commit
05d2daf00c
|
@ -99,3 +99,7 @@ void t4() {
|
|||
__asm { mov eax, fs:[0].a } // expected-error {{Unable to lookup field reference!}}
|
||||
__asm { mov eax, fs:[0]. A.a } // expected-error {{Unexpected token type!}}
|
||||
}
|
||||
|
||||
void test_operand_size() {
|
||||
__asm { call word t4 } // expected-error {{Expected 'PTR' or 'ptr' token!}}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue