rust/tests/compile-fail/bugs/discriminant_value.rs
2016-04-22 20:09:00 +02:00

10 lines
193 B
Rust

#![feature(custom_attribute)]
#![allow(dead_code, unused_attributes)]
// error-pattern:can't handle intrinsic: discriminant_value
#[miri_run]
fn main() {
assert_eq!(None::<i32>, None);
}