Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_nothrow_constructible3.C
blob: 220ee0bb89e7e7abd18080c8a07f361ff9df2b39 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
class
T
,
class
...
Args
>
void
bar
()
{
static_assert
(
__is_nothrow_constructible
(
T
,
Args
...),
""
);
}
template
void
bar
<int>
();
template
void
bar
<
int
,
int
>();