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:
parent
bcef4a975d
commit
015470203b
1 changed files with 11 additions and 0 deletions
|
@ -18,6 +18,17 @@ namespace Tests
|
|||
public float mFloat;
|
||||
}
|
||||
|
||||
[Union]
|
||||
struct UnionC
|
||||
{
|
||||
public int32 mInt32 = 0;
|
||||
public float mFloat;
|
||||
|
||||
public this()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
static void TestBasics()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue