Richard Smith | 2a9e5c5 | 2015-02-03 03:32:14 +0000 | [diff] [blame] | 1 | namespace N { |
2 | template <typename> struct A { | ||||
3 | int n; | ||||
4 | A() : n() {} | ||||
5 | }; | ||||
6 | |||||
7 | // Trigger instantiation of definition of A<int>. | ||||
8 | struct C { | ||||
9 | A<int> a; | ||||
10 | }; | ||||
11 | } | ||||
12 | |||||
13 | // Merge in another declaration and update records. | ||||
Richard Smith | 7483d20 | 2015-02-04 01:23:46 +0000 | [diff] [blame] | 14 | #include "b1.h" |