Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/fn-template11.C

raw
1 // P0846R0
2 // { dg-do compile }
3 // { dg-options "-std=c++2a" }
4
5 int nonconst ();
6
7 int foo ()
8 {
9 return blah < // { dg-error "not declared" }
10 nonconst (), nonconst ();
11 }