MS inline asm: Add tests for LLVM r214468

This used to assert.

llvm-svn: 214551
This commit is contained in:
Reid Kleckner 2014-08-01 20:23:03 +00:00
parent 5b37c18129
commit 05d2daf00c
1 changed files with 4 additions and 0 deletions

View File

@ -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!}}
}