diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-24 08:38:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-24 08:38:28 +0000 |
commit | 5fada3b218d1c53e14da13170f110e55abb9d3ae (patch) | |
tree | 695c2a62c4b6a951999fd0a27b8662c96962d4b0 | |
parent | 5b845c94436b2d0d7c1e920cf687fb45803f1a5c (diff) |
new testcase for PR630
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23422 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CFrontend/2005-09-24-AsmUserPrefix.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CFrontend/2005-09-24-AsmUserPrefix.c b/test/CFrontend/2005-09-24-AsmUserPrefix.c new file mode 100644 index 0000000000..06600fa84a --- /dev/null +++ b/test/CFrontend/2005-09-24-AsmUserPrefix.c @@ -0,0 +1,9 @@ +// RUN: %llvmgcc %s -S -o - | gccas && +// RUN: %llvmgcc %s -S -o - | gccas | llc && +// RUN: %llvmgcc %s -S -o - | gccas | llc | not grep _foo2 + +void foo() __asm__("foo2"); + +void bar() { + foo(); +} |