blob: 0312029259520dd09646a1a36179244f398a3d38 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -emit-llvm -o - %s -O2 | grep "@_Z1bv"
Eli Friedman2be58612009-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(); }