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
This commit is contained in:
parent
52e59d530d
commit
6d7acd2615
1 changed files with 3 additions and 1 deletions
|
|
@ -17,9 +17,11 @@
|
||||||
int constmingy() const {}
|
int constmingy() const {}
|
||||||
static int thingy() {}
|
static int thingy() {}
|
||||||
static int svariable;
|
static int svariable;
|
||||||
static const int constsvariable = 2;
|
static const int constsvariable;
|
||||||
int normalvariable;
|
int normalvariable;
|
||||||
};
|
};
|
||||||
|
int FooImplementation::svariable = 0;
|
||||||
|
const int FooImplementation::constsvariable = 2;
|
||||||
|
|
||||||
void tester() {
|
void tester() {
|
||||||
SmartPointer<FooImplementation> p;
|
SmartPointer<FooImplementation> p;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue