blob: 16868ba042c058845286adb459c760502b063344 [file] [log] [blame]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template <class>
concept bool C1 () {
return true;
}
template <class>
concept bool C2 () {
return true;
}
template <class Expr>
concept bool C3 () {
return requires (Expr expr) {
{expr}->C1;
{expr}->C2;
};
}
auto f (C3);