Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / 2006-10-30-ClassBitfield.cpp
blob8f61f7b10a813bbb2e02102426553af432dea152
1 // RUN: %clang_cc1 -emit-llvm %s -o -
2 // PR954
4 struct _Refcount_Base {
5 unsigned long _M_ref_count;
6 int _M_ref_count_lock;
7 _Refcount_Base() : _M_ref_count(0) {}
8 };
10 struct _Rope_RopeRep : public _Refcount_Base
12 public:
13 int _M_tag:8;
16 int foo(_Rope_RopeRep* r) { return r->_M_tag; }