blob: 9191c3e97f8d97f06ab0fc6fac13d7873c8210f5 [file] [log] [blame]
// PR c++/55842
// { dg-options -std=c++11 }
template <class=void> struct number {
number() noexcept(noexcept(0)) { }
};
const int z=__has_nothrow_constructor(number<>);