// { dg-do compile { target c++11 } } template using ref = T&; int x; template class T, T> struct X { }; struct Y : X { };