15 lines
236 B
C++
15 lines
236 B
C++
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"
|