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 00000000000..8b67c23e6cf --- /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 +}