Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
fn-template11.C
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" }
}