This website requires JavaScript.
Explore
Help
Sign In
replica
/
hanchenye-llvm-project
Watch
2
Star
0
Fork
You've already forked hanchenye-llvm-project
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
42c68f26cf
hanchenye-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
;
}