2009-12-05 08:02:37 +08:00
|
|
|
// RUN: %llvmgcc %s -S -emit-llvm -o - | llc
|
2007-04-12 06:36:10 +08:00
|
|
|
|
2007-04-21 11:35:28 +08:00
|
|
|
union U { int x; float p; };
|
2007-04-12 06:36:10 +08:00
|
|
|
void foo() {
|
|
|
|
union U bar;
|
|
|
|
__asm__ volatile("foo %0\n" : "=r"(bar));
|
|
|
|
}
|