mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 20:30:50 +00:00
53de3e63cc
llvm-svn: 35931
8 lines
165 B
C
8 lines
165 B
C
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep 'call i32 asm'
|
|
|
|
union U { int x; char* p; };
|
|
void foo() {
|
|
union U bar;
|
|
__asm__ volatile("foo %0\n" : "=r"(bar));
|
|
}
|