1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Added union assignment test

This commit is contained in:
Brian Fiete 2020-07-18 06:47:47 -07:00
parent bcef4a975d
commit 015470203b

View file

@ -18,6 +18,17 @@ namespace Tests
public float mFloat; public float mFloat;
} }
[Union]
struct UnionC
{
public int32 mInt32 = 0;
public float mFloat;
public this()
{
}
}
[Test] [Test]
static void TestBasics() static void TestBasics()
{ {