xref: /llvm-project/lldb/test/API/lang/cpp/forward/main.cpp (revision 10b048c8922d746b14e991f468e00b3ca67c9d95)
1*10b048c8SPavel Labath #include "foo.h"
2*10b048c8SPavel Labath 
3*10b048c8SPavel Labath template <typename T> struct bar {
4*10b048c8SPavel Labath   T a;
5*10b048c8SPavel Labath };
6*10b048c8SPavel Labath 
7*10b048c8SPavel Labath int main() {
8*10b048c8SPavel Labath   bar<int> b{47};
9*10b048c8SPavel Labath 
10*10b048c8SPavel Labath   foo(&b);
11*10b048c8SPavel Labath 
12*10b048c8SPavel Labath   return 0;
13*10b048c8SPavel Labath }
14