repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
CodeGen
/
asm-errors.c
blob
c5b36c7fed40c837da3bc16a5d23d1aa8d9c7723
1
// RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s -o /dev/null > %t 2>&1
2
// RUN: FileCheck %s < %t
3
4
int
test1
(
int
X
) {
5
// CHECK: error: invalid instruction mnemonic 'abc'
6
__asm__
(
"abc incl %0"
:
"+r"
(
X
));
7
return
X
;
8
}