make this portable to 64-bit hosts

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-21 03:35:28 +00:00
parent 4fc4fab856
commit e1d89558b4

View File

@ -1,6 +1,6 @@
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep {call i32 asm}
union U { int x; char* p; };
union U { int x; float p; };
void foo() {
union U bar;
__asm__ volatile("foo %0\n" : "=r"(bar));