summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/merge-template-members/c.h
blob: 92f20a0b132992ec8fb05cef1bfaf16d901efb4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace N {
  template <typename> struct A {
    int n;
    A() : n() {}
  };

  // Trigger instantiation of definition of A<int>.
  struct C {
    A<int> a;
  };
}

// Merge in another declaration and update records.
#include "b1.h"
OpenPOWER on IntegriCloud