1 2 3 4 5 6 7 8 9 10
// run-pass const ERROR_CONST: bool = true; fn get() -> bool { false || ERROR_CONST } pub fn main() { assert_eq!(get(), true); }