From: Chris Lattner Date: Sat, 24 Sep 2005 08:38:28 +0000 (+0000) Subject: new testcase for PR630 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5fada3b218d1c53e14da13170f110e55abb9d3ae;p=oota-llvm.git new testcase for PR630 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23422 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2005-09-24-AsmUserPrefix.c b/test/CFrontend/2005-09-24-AsmUserPrefix.c new file mode 100644 index 00000000000..06600fa84af --- /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(); +}