diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-08 20:37:31 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-08 20:37:31 +0000 |
commit | b64f3101e65e6931a1b3b3479ca6357624b37667 (patch) | |
tree | dd60cfc21906bc14695d5ad79afd220c80916898 /test/CodeGen/ms-inline-asm.c | |
parent | 62f22b87801882646418bae85111e565f7a53ddb (diff) |
[ms-inline asm] Add a very simple test case. Basically, we're only testing for
crashers at the moment (and coincidentally this case was causing a crash).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.c')
-rw-r--r-- | test/CodeGen/ms-inline-asm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c new file mode 100644 index 0000000000..2d36bbca52 --- /dev/null +++ b/test/CodeGen/ms-inline-asm.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -O0 -fms-extensions -w -emit-llvm -o - | FileCheck %s + +void t1() { +// CHECK: @t1 +// CHECK: ret void + __asm {} +} |