summaryrefslogtreecommitdiff
path: root/Examples/test-suite/template_typedef_ns.i
blob: a386284ab017a3d616b59065fdbe5030c8f90eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%module("templatereduce") template_typedef_ns

%inline {
  namespace Alpha {
    typedef int Integer;
  }
  
  namespace Beta {
    template <typename Value>
    struct Alpha {
      Value x;
    };
  }
}


%template(AlphaInt) Beta::Alpha<Alpha::Integer>;