☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
auto-fncast16.C
☽
☼
gcc/testsuite/g++.dg/cpp23/auto-fncast16.C
code
plain
raw
1
// PR c++/110025
2
// { dg-do compile { target c++23 } }
3
4
template<auto V, class = decltype(auto(V)), class = decltype(auto{V})>
5
struct A { };
6
7
template<auto V>
8
A<V> f();
9
10
int main() {
11
f<0>();
12
}