xref: /aosp_15_r20/external/llvm/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: opt < %s -lowerswitch
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine void @test() {
4*9880d681SAndroid Build Coastguard Worker	switch i32 0, label %Next [
5*9880d681SAndroid Build Coastguard Worker	]
6*9880d681SAndroid Build Coastguard WorkerNext:		; preds = %0
7*9880d681SAndroid Build Coastguard Worker	ret void
8*9880d681SAndroid Build Coastguard Worker}
9*9880d681SAndroid Build Coastguard Worker
10