blob: 403927931c7f0c8bac61ed74f6bcba26bf16177d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// RUN: %llvmgcc -S -o - -m32 -Os %s | FileCheck %s
// PR9571
struct t {
int x;
};
extern struct t *cfun;
int f(void) {
if (!(cfun + 0))
// CHECK: icmp eq %struct.t* %0, null
return 0;
return cfun->x;
}
|