blob: f629d7d0b983c5244fd4f3a04cad877403264f99 [file] [log] [blame]
// DR 1794 - template keyword and alias templates.
// { dg-do compile { target c++11 } }
template<template<typename> class Template>
struct Internal {
template<typename Arg>
using Bind = Template<Arg>;
};
template<template<typename> class Template, typename Arg>
using Instantiate = Template<Arg>;
template<template<typename> class Template, typename Argument>
using Bind = Instantiate<Internal<Template>::template Bind, Argument>;