mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
bf08e82d8e
llvm-svn: 79992
11 lines
171 B
C
11 lines
171 B
C
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
|
|
|
|
int foo() {
|
|
#ifdef __ppc__
|
|
register int X __asm__("r1");
|
|
#else
|
|
register int X __asm__("ebx");
|
|
#endif
|
|
return X;
|
|
}
|