summaryrefslogtreecommitdiffstats
path: root/test/PCH/Inputs/chain-cxx1.h
blob: 7ea3ffb61c8fb712ba55bd22a6ee8ffe46d3e957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Primary header for C++ chained PCH test

void f();

// Name not appearing in dependent
void pf();

namespace ns {
  void g();

  void pg();
}

template <typename T>
struct S { typedef int G; };

// Partially specialize
template <typename T>
struct S<T *> { typedef int H; };
OpenPOWER on IntegriCloud