Skip to content

Commit 9b629fc

Browse files
author
Chad Rosier
committed
[ms-inline asm] Test case for r170037.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170038 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a923c97 commit 9b629fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/Sema/ms-inline-asm.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ void f() {
3131
__asm {
3232
mov eax, LENGTH foo // expected-error {{Unsupported directive!}}
3333
}
34-
34+
f();
35+
__asm {
36+
mov eax, TYPE bar // expected-error {{Unable to lookup TYPE of expr!}}
37+
}
3538
}

0 commit comments

Comments
 (0)