diff options
Diffstat (limited to 'Examples/test-suite/template_static.i')
-rw-r--r-- | Examples/test-suite/template_static.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/test-suite/template_static.i b/Examples/test-suite/template_static.i index bbca99490..dafb9ca5c 100644 --- a/Examples/test-suite/template_static.i +++ b/Examples/test-suite/template_static.i @@ -19,6 +19,7 @@ template<class T> int foo<T>::test = 0; namespace toto { class Foo { public: + static int test; template<class T> static double bar(int i) { return 1.0; @@ -28,6 +29,7 @@ namespace toto { int i; }; } +int toto::Foo::test = 5; %} %template(bar_double) toto::Foo::bar<double>; |