blob: e3434f51a3910b3db3c165d131820fff4f627eb7 [file] [log] [blame]
// PR c++/61198
// { dg-do compile { target c++11 } }
template<int herp, typename derp_t>
struct broken
{
template<typename target_t>
using rebind = broken<herp, target_t>;
};
template<typename derp_t>
struct broken<2, derp_t>
{
template<typename target_t>
using rebind = broken<2, target_t>;
};
int main(int argc, char **argv)
{
broken<2, float>::rebind<double> u;
return 0;
}