llvm-for-llvmta/tools/clang/test/Modules/Inputs/merge-template-members/c.h

15 lines
236 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
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"