llvm-project/lldb/test/API/lang/cpp/incompatible-class-templates/other.cpp

8 lines
200 B
C++

namespace {
template <typename T1, typename T2> struct Temp { int x; };
// This emits the 'Temp' template from this TU.
Temp<int, float> Template2;
} // namespace
int other() { return Template2.x; }