[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / reference-field.cpp
blob54e914d0f3fce594bec9d2954517a2edbe0c0ee2
1 // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s -O2 | FileCheck %s
3 // Make sure the call to b() doesn't get optimized out.
4 extern struct x {char& x,y;}y;
5 int b();
6 int a() { if (!&y.x) b(); }
8 // CHECK: @_Z1bv