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