1#include "lib.h"
2
3template <typename T> struct BarImpl {
4 using Ref = BarImpl<T> *;
5
6 Ref Create() { return new BarImpl<T>(); }
7};
8
9BarImpl<char> gMainLocalDef;
10FooImpl<char> *gMainExternalDef = nullptr;
11
12int main() { return 0; }
13

source code of lldb/test/API/lang/cpp/typedef-to-outer-fwd/main.cpp