Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
1b497f26ab7861b22383b22f35cf799c0b312c9b
/
.
/
test
/
CodeGen
/
2004-03-16-AsmRegisterCrash.c
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
;
}