16 lines · c
1// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin %s | FileCheck %s2// PR95713 4struct t {5 int x;6};7 8extern struct t *cfun;9 10int f(void) {11 if (!(cfun + 0))12 // CHECK: icmp ne ptr13 return 0;14 return cfun->x;15}16