From 015470203b9076f9acc8ace614e889e723cfc0f4 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 18 Jul 2020 06:47:47 -0700 Subject: [PATCH] Added union assignment test --- IDEHelper/Tests/src/Unions.bf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/IDEHelper/Tests/src/Unions.bf b/IDEHelper/Tests/src/Unions.bf index df09cb18..9dfe1b07 100644 --- a/IDEHelper/Tests/src/Unions.bf +++ b/IDEHelper/Tests/src/Unions.bf @@ -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() {