blob: abd118b633ae0ea159c35e9d374c3af8494ff81a [file] [log] [blame]
// { dg-do compile { target c++14_down } }
// { dg-options "-pedantic" }
template<typename T>
struct A {};
#if __cplusplus >= 201103L
template<typename T>
using B = int;
#endif
template<template<typename> class X>
struct C {};
C<A> ca;
#if __cplusplus >= 201103L
C<B> cb;
#endif
template<template<typename> typename X> // { dg-warning "ISO C.. forbids typename key in template template parameter" }
struct D {};
D<A> da;
#if __cplusplus >= 201103L
D<B> db;
#endif