blob: 8123fe93d1c2b52412c347cd77cb2b67d3472c24 [file] [log] [blame]
// PR c++/55842
// { dg-do compile { target c++11 } }
template <class=void> struct number {
number() noexcept(noexcept(0)) { }
};
const int z=__has_nothrow_constructor(number<>);