Dan Gohman | b1e1e82 | 2009-09-08 16:50:01 +0000 | [diff] [blame] | 1 | ; RUN: opt %s -lowerswitch |
Chris Lattner | 4d34ada | 2003-08-23 22:43:42 +0000 | [diff] [blame] | 2 | |
Tanya Lattner | e6d5d39 | 2008-03-19 07:28:33 +0000 | [diff] [blame] | 3 | define void @test() { |
4 | switch i32 0, label %Next [ | ||||
5 | ] | ||||
6 | Next: ; preds = %0 | ||||
Chris Lattner | 4d34ada | 2003-08-23 22:43:42 +0000 | [diff] [blame] | 7 | ret void |
8 | } | ||||
Tanya Lattner | e6d5d39 | 2008-03-19 07:28:33 +0000 | [diff] [blame] | 9 |