minix/external/bsd/llvm/dist/clang/test/Modules/Inputs/templates-top.h
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

25 lines
372 B
C++

template<typename T> class Vector;
template<typename T> class List {
public:
void push_back(T);
struct node {};
node *head;
unsigned size;
};
namespace A {
class Y {
template <typename T> friend class WhereAmI;
};
}
template <typename T> class A::WhereAmI {
public:
static void func() {}
};
template<typename T> struct Outer {
struct Inner {};
};