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