Debian Codegraph @

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

raw
1 // PR c++/80991
2 // { dg-do compile { target c++11 } }
3
4 template<bool> void foo()
5 {
6 static_assert(__is_nothrow_constructible(int, int), "");
7 }
8
9 void bar()
10 {
11 foo<true>();
12 }