1// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s -O2 | FileCheck %s
2
3// Make sure the call to b() doesn't get optimized out.
4extern struct x {char& x,y;}y;
5int b();
6int a() { if (!&y.x) b(); }
7
8// CHECK: @_Z1bv
9