blob: 54e914d0f3fce594bec9d2954517a2edbe0c0ee2 [file] [log] [blame]
Hans Wennborgc9bd88e2014-01-14 19:35:09 +00001// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s -O2 | FileCheck %s
Eli Friedmanf7f9f682009-05-30 21:09:44 +00002
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(); }
Hans Wennborg442e4f72013-12-13 22:43:52 +00007
8// CHECK: @_Z1bv