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