summaryrefslogtreecommitdiff
path: root/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll')
-rw-r--r--test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll b/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
new file mode 100644
index 0000000000..8b67c23e6c
--- /dev/null
+++ b/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
@@ -0,0 +1,7 @@
+; RUN: as < %s | opt -lowerswitch
+
+void %test() {
+ switch uint 0, label %Next []
+Next:
+ ret void
+}