2 // { dg-do compile { target c++11 } }
4 // template type parameter friend:
9 static const int I = 2;
19 // bonus template template parameter friend:
21 template <class T> struct A;
23 template<template <class> class W>
26 static const int I = 2;
28 // I'm not sure this is well-formed, but I can't find anything
29 // that says otherwise.
30 template <class T> friend class W;