forked from OSchip/llvm-project
parent
a5fcd24746
commit
6d87faf14f
|
@ -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));
|
||||
}
|
Loading…
Reference in New Issue