diff --git a/Examples/test-suite/friends.i b/Examples/test-suite/friends.i index 4085e6fd4..5ae6a7ce8 100644 --- a/Examples/test-suite/friends.i +++ b/Examples/test-suite/friends.i @@ -17,6 +17,7 @@ { } + friend void ::globalscope(); friend int mix(A* a, B *b); virtual ~B() { @@ -27,6 +28,7 @@ }; + void globalscope() { B b(0); b.v=10; } struct A {