blob: 1a6b68829002f58d5e8b4755350c2b051382ac85 [file] [log] [blame]
// 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" }
}