segfault test added - global scope operator

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-10-29 21:07:51 +00:00
commit ba1cc80e8e

View file

@ -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
{