diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2011-03-13 00:16:44 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2011-03-13 00:16:44 +0000 |
commit | 6d7acd2615b8e3a6a3f8b1c5379a192e504e9add (patch) | |
tree | 229428f48b5de6bd601d8079468e17c696bd26e2 | |
parent | 52e59d530d6fcb42981deb20c45e2f88ab956651 (diff) | |
download | swig-6d7acd2615b8e3a6a3f8b1c5379a192e504e9add.tar.gz |
linker fix for smart_pointer_template_const_overload testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r-- | Examples/test-suite/smart_pointer_template_const_overload.i | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Examples/test-suite/smart_pointer_template_const_overload.i b/Examples/test-suite/smart_pointer_template_const_overload.i index be5f08a35..7c890fbcf 100644 --- a/Examples/test-suite/smart_pointer_template_const_overload.i +++ b/Examples/test-suite/smart_pointer_template_const_overload.i @@ -17,9 +17,11 @@ int constmingy() const {} static int thingy() {} static int svariable; - static const int constsvariable = 2; + static const int constsvariable; int normalvariable; }; + int FooImplementation::svariable = 0; + const int FooImplementation::constsvariable = 2; void tester() { SmartPointer<FooImplementation> p; |