xref: /llvm-project/lldb/test/API/lang/cpp/incompatible-class-templates/main.cpp (revision b8567559cf3872d0cc2a0ed24a171da8b1ff400f)
1*b8567559SRaphael Isemann int other();
2*b8567559SRaphael Isemann 
3*b8567559SRaphael Isemann namespace {
4*b8567559SRaphael Isemann template <typename T1> struct Temp { int x; };
5*b8567559SRaphael Isemann // This emits the 'Temp' template in this TU.
6*b8567559SRaphael Isemann Temp<float> Template1;
7*b8567559SRaphael Isemann } // namespace
8*b8567559SRaphael Isemann 
main()9*b8567559SRaphael Isemann int main() {
10*b8567559SRaphael Isemann   return Template1.x + other(); // break here
11*b8567559SRaphael Isemann }
12