repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
FrontendC
/
2011-03-31-ArrayRefFolding.c
blob
403927931c7f0c8bac61ed74f6bcba26bf16177d
1
// RUN: %llvmgcc -S -o - -m32 -Os %s | FileCheck %s
2
// PR9571
3
4
struct
t
{
5
int
x
;
6
};
7
8
extern
struct
t
*
cfun
;
9
10
int
f
(
void
) {
11
if
(!(
cfun
+
0
))
12
// CHECK: icmp eq %struct.t* %0, null
13
return
0
;
14
return
cfun
->
x
;
15
}