rust/tests/compile-fail/bugs/discriminant_value.rs

10 lines
193 B
Rust
Raw Normal View History

2016-04-22 07:38:46 -05:00
#![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);
}