diff options
Diffstat (limited to 'test/Sema/ms-inline-asm.c')
-rw-r--r-- | test/Sema/ms-inline-asm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Sema/ms-inline-asm.c b/test/Sema/ms-inline-asm.c new file mode 100644 index 0000000000..4c9dfd0b59 --- /dev/null +++ b/test/Sema/ms-inline-asm.c @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fms-extensions -fenable-experimental-ms-inline-asm -verify -fsyntax-only + +void t1(void) { + __asm __asm // expected-warning {{MS-style inline assembly is not supported}} expected-error {{__asm used with no assembly instructions}} +} |