Debian Codegraph @

gcc/testsuite/g++.dg/ext/is_nothrow_constructible6.C

raw
1 // { dg-do compile { target c++11 } }
2 // PR c++/81589
3
4 template <typename k>
5 struct z {
6 z() noexcept {
7 k::error;
8 }
9 };
10
11 int x = __is_nothrow_constructible(z<int>);