2007-04-29 18:59:01 +00:00
|
|
|
// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | 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));
|
|
|
|
}
|