Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
nontype-auto14.C
blob: 0d350a398fecb188e23488bee2899e3efb887a6b [
file
] [
log
] [
blame
]
// PR c++/82231
// { dg-do compile { target c++17 } }
template
<int>
struct
x
{};
template
<
auto
I
,
decltype
(
I
)
X
>
void
f
(
x
<
X
>)
{
}
int
main
()
{
f
<
0
>(
x
<
1
>{});
}