remove parser support for the obsolete "multiple return values" syntax, which
[oota-llvm.git] / test / Assembler / 2003-05-15-SwitchBug.ll
index d2b64c4fd24382efb2c0d75f6f58c559e0ac62c4..3768d9c9a677cd6808547c0cc485a855f80dd555 100644 (file)
@@ -1,7 +1,11 @@
+; RUN: llvm-as %s -o /dev/null
 
+; Check minimal switch statement
 
-void %test(int %X) {
-  switch int %X, label %dest []
-dest:
-  ret void
+define void @test(i32 %X) {
+        switch i32 %X, label %dest [
+        ]
+
+dest:           ; preds = %0
+        ret void
 }