blob: 515d2436b1a8262d2e912f973e19224422a5f878 [file] [log] [blame]
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
// XFAIL: *
// XTARGET: arm, i386, i686, x86_64
int foo() {
#ifdef __arm__
register int X __asm__("r1");
#else
register int X __asm__("ebx");
#endif
return X;
}