Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/auto-fncast16.C

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 }