1 ; RUN: llvm-upgrade < %s | llvm-as | opt -cee -constprop -instcombine -dce | \
2 ; RUN: llvm-dis | not grep REMOVE
5 int %test_case_values_should_propagate(int %A) {
6 switch int %A, label %D [
12 %REMOVE1 = add int %A, 2 ; Should be 42.
15 %REMOVE2 = add int %A, 3 ; Should be 44.
18 %REMOVE3 = add int %A, 4 ; Should be 46.