Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
860a319e62b0e256817a458396d191aa91c0787a
/
.
/
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
;
}