blob: 4de2168ef60d11b8a8d65756bdce4911c06da11f [file] [log] [blame]
// PR c++/100634
// { dg-do compile { target c++20 } }
// { dg-options "" }
// We could support _Complex template arguments, but better I think to make
// people use a standard type instead.
template<_Complex int> struct ComplexInt {}; // { dg-error "not a valid type" }
using CI = ComplexInt<1 + 3i>;