diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-12-12 22:46:23 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-12-12 22:46:23 +0000 |
commit | 9b629fcb8b2606886ed30630f8a896a8bf606518 (patch) | |
tree | b3d79b2af9d68bde469c3fea2ecded5827ccb373 | |
parent | a923c9783e8bd8edd26e56df9eaacd872c43e20e (diff) |
[ms-inline asm] Test case for r170037.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170038 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Sema/ms-inline-asm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Sema/ms-inline-asm.c b/test/Sema/ms-inline-asm.c index 8cdd54780d..538d56ae66 100644 --- a/test/Sema/ms-inline-asm.c +++ b/test/Sema/ms-inline-asm.c @@ -31,5 +31,8 @@ void f() { __asm { mov eax, LENGTH foo // expected-error {{Unsupported directive!}} } - + f(); + __asm { + mov eax, TYPE bar // expected-error {{Unable to lookup TYPE of expr!}} + } } |