1 // min-llvm-version: 14.0
3 //[Os] compile-flags: -Copt-level=s
4 //[O] compile-flags: -O
7 // CHECK: @func{{2|1}} = {{.*}}alias{{.*}}@func{{1|2}}
10 pub fn func1(c: char) -> bool {
11 c == 's' || c == 'm' || c == 'h' || c == 'd' || c == 'w'
15 pub fn func2(c: char) -> bool {
16 matches!(c, 's' | 'm' | 'h' | 'd' | 'w')