new testcase

llvm-svn: 35927
This commit is contained in:
Chris Lattner 2007-04-11 22:36:10 +00:00
parent a5fcd24746
commit 6d87faf14f
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep 'call void asm'
union U { int x; char* p; };
void foo() {
union U bar;
__asm__ volatile("foo %0\n" : "=r"(bar));
}