repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
fold-const-declref.c
blob
f49611cda79ae3b55c8a6924101b9dffab184c11
1
// RUN: %clang_cc1 -verify -emit-llvm-only %s
2
3
// PR7242: Check that this doesn't crash.
4
int
main
(
void
)
5
{
6
int
__negative
=
1
;
7
const int
__max
=
__negative
&&
0
;
8
__max
/
0
;
// expected-warning{{expression result unused}} expected-warning{{division by zero is undefined}}
9
}