Debian Codegraph @

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

raw
1 // PR c++/103401
2 // { dg-do compile { target c++23 } }
3
4 void f(decltype(auto(0))) { }
5
6 int main()
7 {
8 f<int,int>(0); // { dg-error "no matching function" }
9 }