blob: d6542e6dc736ae21ff8739634fa488eaa716d6d2 [file] [log] [blame]
// { dg-additional-options "-fmodules-ts -fconcepts" }
import foo;
struct X {};
void foo (int i, X &x)
{
f1 (i); // ok
f1 (x); // { dg-error "no match" }
}
// { dg-regexp {[^\n]*concept-1_a.C:7:[0-9]*: error: invalid cast[^\n]*\n} }