From 5fada3b218d1c53e14da13170f110e55abb9d3ae Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 24 Sep 2005 08:38:28 +0000 Subject: [PATCH] new testcase for PR630 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23422 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2005-09-24-AsmUserPrefix.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/CFrontend/2005-09-24-AsmUserPrefix.c 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(); +}