xref: /llvm-project/clang/test/CXX/temp/temp.param/p10.cpp (revision c6e68daac0fa6e77a89f3ca72f266a528503dd1c)
18fbe78f6SDaniel Dunbar // RUN: %clang_cc1 -fsyntax-only -verify %s
2*c6e68daaSAndy Gibbs // expected-no-diagnostics
3a5d5c749SDouglas Gregor template<typename> struct Y1;
4a5d5c749SDouglas Gregor template<typename, int> struct Y2;
5a5d5c749SDouglas Gregor 
6a5d5c749SDouglas Gregor template<class T1, class T2 = int> class B2;
7a5d5c749SDouglas Gregor template<class T1 = int, class T2> class B2;
8a5d5c749SDouglas Gregor 
9a5d5c749SDouglas Gregor template<template<class, int> class, template<class> class = Y1> class B2t;
10a5d5c749SDouglas Gregor template<template<class, int> class = Y2, template<class> class> class B2t;
11a5d5c749SDouglas Gregor 
12a5d5c749SDouglas Gregor template<int N, int M = 5> class B2n;
13a5d5c749SDouglas Gregor template<int N = 5, int M> class B2n;
14