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