blob: 6d24d938abb34767904bb5eb381e6e34c29f4050 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -emit-llvm -o -
2
3union U { int x; float p; };
4void foo() {
5 union U bar;
6 __asm__ volatile("foo %0\n" : "=r"(bar));
7}