Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
auto4.C
blob: 8bf3fa9b1cea4223805f964e5e3928dce7f7f988 [
file
] [
log
] [
blame
]
// PR c++/85006
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template
<
typename
...
Ts
>
struct
A
{};
template
<
typename
...
Us
>
A
<
auto
...>
foo
()
{
return
A
{};
}
void
bar
()
{
foo
();
}