new testcase for PR630
[oota-llvm.git] / test / CFrontend / 2005-09-24-AsmUserPrefix.c
1 // RUN: %llvmgcc %s -S -o - | gccas &&
2 // RUN: %llvmgcc %s -S -o - | gccas | llc &&
3 // RUN: %llvmgcc %s -S -o - | gccas | llc | not grep _foo2
4
5 void foo() __asm__("foo2");
6
7 void bar() {
8   foo();
9 }