blob: c22fccb6788e68359dea4a0614ea1ca7bd055537 [file] [log] [blame]
Richard Smith762bb9d2011-10-13 22:29:44 +00001// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
Richard Smith3e4c6c42011-05-05 21:57:07 +00002
3template<template<typename> class D> using C = D<int>;
4
5// Substitution of the alias template transforms the TemplateSpecializationType
6// 'D<int>' into the DependentTemplateSpecializationType 'T::template U<int>'.
7template<typename T> void f(C<T::template U>);