c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / ttp34b.C
blobed3b3e8ab059304db460f52c5c376ba7089f0928
1 // PR c++/67829
3 template<class> class Purr;
5 template<class, template<class> class>
6 class Meow;
8 template<template<class> class P>
9 class Meow<P<int>, P> { }; // 1
11 template<template<class> class P, class T>
12 class Meow<P<T>, P>; // 2
14 Meow<Purr<int>, Purr> kitty;