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