aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/incompatible-class-templates/main.cpp
blob: e90b96c1dbe2cfcf6a49515bd1ef2b199a44c97b (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}