blob: bbfef7bed9ee4ddd9d69b861cbd43cebaf560d5c [file] [log] [blame]
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts" }
template<typename T, typename U = int>
concept bool C()
{
return sizeof(U) == sizeof(int);
}
C{A} void f1() {} // { dg-error "all template parameters" }