1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Tests for split global with explicit reference

This commit is contained in:
Brian Fiete 2020-07-16 16:03:36 -07:00
parent c11449f9db
commit e6f722bf7a
4 changed files with 26 additions and 1 deletions

View file

@ -111,4 +111,4 @@ static
{
return 1;
}
}
}

View file

@ -40,4 +40,15 @@ static
{
return 2;
}
}
namespace LibSpace
{
static
{
public static int MethodB()
{
return 200;
}
}
}

View file

@ -32,4 +32,15 @@ static
{
return 3;
}
}
namespace LibSpace
{
static
{
public static int MethodA()
{
return 100;
}
}
}

View file

@ -45,6 +45,9 @@ namespace Tests
const int* iPtr = cValsInt[2][0];
Test.Assert(iPtr == null);
Test.Assert(LibSpace.MethodA() == 100);
Test.Assert(LibSpace.MethodB() == 200);
}
}
}