This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
a2c3c8d71c
llvm-project
/
clang
/
test
/
CodeGen
/
conditional-gnu-ext.c
7 lines
90 B
C
Raw
Normal View
History
Unescape
Escape
Update a number of CodeGen tests to not create .ll files in the test directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104
2008-08-21 10:51:29 +08:00
// RUN: clang -emit-llvm %s -o %t
Fix sema support for the gnu ?: expression with a missing middle expression, and fix a codegen bug where we didn't correctly promote the condition to the right result type. This fixes PR1824. llvm-svn: 44322
2007-11-26 09:40:58 +08:00
// PR1824
int
foo
(
int
x
,
short
y
)
{
return
x
?
:
y
;
}