// PR c++/80534 // { dg-do compile { target c++11 } } // { dg-options "" } template struct aligned_storage { struct type { char __data[0]; }; }; struct A {}; template struct unique_ptr; template struct unique_ptr<_Tp[], _Dp> { int _M_t; void get() { _M_t; } }; struct B { using Association = A; using Storage = aligned_storage::type; using StorageUniquePointer = unique_ptr; void getAssociationsBegin() { storageUniquePointer_.get(); } StorageUniquePointer storageUniquePointer_; }; struct C {}; using MainThreadStaticSignalsReceiver = C; aligned_storage::type mainThreadStaticSignalsReceiverStorage;