Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f6cde77d7bc34bbee26b086ff192637af8e9da59
/
.
/
test
/
CodeGen
/
asm-errors.c
blob: 7323e61b591a238012359654fcb2d5f1f21a9860 [
file
] [
log
] [
blame
]
// RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s > %t 2>&1
// RUN: FileCheck %s < %t
int
test1
(
int
X
)
{
// CHECK: error: unrecognized instruction
__asm__
(
"abc incl %0"
:
"+r"
(
X
));
return
X
;
}