test the 'only one ref method' case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
97874a090a
commit
0fdc165aa7
1 changed files with 2 additions and 6 deletions
|
|
@ -28,12 +28,8 @@
|
||||||
{
|
{
|
||||||
_a = aa;
|
_a = aa;
|
||||||
}
|
}
|
||||||
|
|
||||||
const int& b() const
|
/* only one ref method */
|
||||||
{
|
|
||||||
return _b;
|
|
||||||
}
|
|
||||||
|
|
||||||
int& b()
|
int& b()
|
||||||
{
|
{
|
||||||
return _b;
|
return _b;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue