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 | 83916498b80c4349b21f612b3c6dabc739517ed5 (patch) | |
| tree | 9ff8c12cbfb35ef8739d37c067eac7d6651dade9 /clang/test/CodeGen | |
| parent | 4c65c505e0903836980242291bc4913858d5ad7d (diff) | |
| download | bcm5719-llvm-83916498b80c4349b21f612b3c6dabc739517ed5.tar.gz bcm5719-llvm-83916498b80c4349b21f612b3c6dabc739517ed5.zip | |
[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).
llvm-svn: 161520
Diffstat (limited to 'clang/test/CodeGen')
| -rw-r--r-- | clang/test/CodeGen/ms-inline-asm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c new file mode 100644 index 00000000000..2d36bbca523 --- /dev/null +++ b/clang/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 {} +} |

