llvm-6502/test/CFrontend/2007-04-11-InlineAsmUnion.c
Chris Lattner e1d89558b4 make this portable to 64-bit hosts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36297 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 03:35:28 +00:00

8 lines
165 B
C

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