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