☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_nothrow_constructible5.C
☽
☼
gcc/testsuite/g++.dg/ext/is_nothrow_constructible5.C
code
plain
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
}