FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / nttp1.C
blob36b743848c4e83f6f3b7ce8c5050e58f13c61b62
1 // Test for nested template template parameter feature
3 template <template<template <class> class> class TTT> struct C
5         int f();
6 };
8 template <template<template <class> class> class TTT> int C<TTT>::f()
10         return 0;
13 template <template <class> class TT> struct D
17 int main()
19         C<D> c;
20         c.f();