12 lines · cpp
1int other();2 3namespace {4template <typename T1> struct Temp { int x; };5// This emits the 'Temp' template in this TU.6Temp<float> Template1;7} // namespace8 9int main() {10 return Template1.x + other(); // break here11}12 1int other();2 3namespace {4template <typename T1> struct Temp { int x; };5// This emits the 'Temp' template in this TU.6Temp<float> Template1;7} // namespace8 9int main() {10 return Template1.x + other(); // break here11}12