1 // { dg-do compile { target c++11 } } 2 3 template<class T> 4 using ref = T&; 5 6 int x; 7 8 template<template<class> class T, T<int>> 9 struct X { }; 10 11 struct Y : X<ref, x> { }; 12