bolt/deps/llvm-18.1.8/lldb/test/API/lang/cpp/incompatible-class-templates/main.cpp

12 lines
219 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
int other();
namespace {
template <typename T1> struct Temp { int x; };
// This emits the 'Temp' template in this TU.
Temp<float> Template1;
} // namespace
int main() {
return Template1.x + other(); // break here
}