blob: 0435d6498ee5e0f9643919b30fc084880924583f [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
2
3union U { int x; float p; };
4void foo() {
5 union U bar;
6 __asm__ volatile("foo %0\n" : "=r"(bar));
7}