blob: a81032f28e9662e8db7e9f1b931a551b3453d948 [file] [log] [blame]
// PR c++/86476 - noexcept-specifier is a complete-class context
// { dg-do compile { target c++11 } }
void fn1(void());
template <typename> class A {
void _M_local_data();
A() noexcept(_M_local_data);
};
class B {
void _S_initialize();
static void _S_initialize_once();
};
void B::_S_initialize() { fn1(_S_initialize_once); }