2009-12-05 01:02:37 +01:00
|
|
|
// RUN: %llvmgcc %s -S -emit-llvm -o - | 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));
|
|
|
|
}
|