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
46129b0934
llvm-project
/
clang
/
test
/
CodeGen
/
PR3130-cond-constant.c
4 lines
58 B
C
Raw
Normal View
History
Unescape
Escape
Rename clang to clang-cc. Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
2009-03-24 10:24:46 +08:00
// RUN: clang-cc -emit-llvm %s -o -
Make Sema::CheckForConstantInitializer use Expr::Evaluate. This fixes PR3130. llvm-svn: 60580
2008-12-05 13:09:56 +08:00
int
a
=
2.0
?
1
:
2
;