diff options
Diffstat (limited to 'test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll')
-rw-r--r-- | test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll | 9 |
1 files changed, 9 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 0000000..61e1dcd --- /dev/null +++ b/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll @@ -0,0 +1,9 @@ +; RUN: opt < %s -lowerswitch + +define void @test() { + switch i32 0, label %Next [ + ] +Next: ; preds = %0 + ret void +} + |