1namespace ns {
2
3template <typename T> struct Foo {
4 static T value;
5};
6
7template <class T> T Foo<T>::value = 0;
8
9template <typename T> using Bar = Foo<T>;
10
11using FooInt = Foo<int>;
12using FooDouble = Foo<double>;
13
14} // namespace ns
15
16ns::Foo<double> a;
17ns::Foo<int> b;
18ns::Bar<double> c;
19ns::Bar<int> d;
20ns::FooInt e;
21ns::FooDouble f;
22
23int main() {
24 // Set breakpoint here
25 return (int)a.value + b.value + (int)c.value + d.value + e.value +
26 (int)f.value;
27}
28

source code of lldb/test/API/lang/cpp/unique-types4/main.cpp