From 884a9bcafc5fb9ae47245fa3ea9a6e64cb65a482 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 20 Mar 2020 16:59:15 -0400 Subject: Handling of switch with empty body (#1284) * Added handling for empty switch body. Added test for empty switch. * Fix testing for case in switch. --- tests/bugs/empty-switch.slang.expected.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/bugs/empty-switch.slang.expected.txt (limited to 'tests/bugs/empty-switch.slang.expected.txt') diff --git a/tests/bugs/empty-switch.slang.expected.txt b/tests/bugs/empty-switch.slang.expected.txt new file mode 100644 index 000000000..94ebaf900 --- /dev/null +++ b/tests/bugs/empty-switch.slang.expected.txt @@ -0,0 +1,4 @@ +1 +2 +3 +4 -- cgit v1.2.3