Debian Codegraph @

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

raw
1 // { dg-do compile { target c++11 } }
2
3 template <class T, class... Args> void bar() {
4 static_assert(__is_nothrow_constructible(T, Args...), "");
5 }
6
7 template void bar<int>();
8 template void bar<int,int>();