(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
fn-template11.C
// P0846R0
// { dg-do compile }
// { dg-options "-std=c++2a" }

int nonconst ();

int foo ()
{
  return blah < // { dg-error "not declared" }
    nonconst (), nonconst (); // { dg-error "call to non-.constexpr. function" }
}