repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git]
/
test
/
FrontendC
/
2002-02-13-ConditionalInCall.c
blob
f361088c1cf84cf77315004222b7e91d02a973f3
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
/* Test problem where bad code was generated with a ?: statement was
4
in a function call argument */
5
6
void
foo
(
int
,
double
,
float
);
7
8
void
bar
(
int
x
) {
9
foo
(
x
,
x
?
1.0
:
12.5
,
1.0
f
);
10
}
11