rust/src/test/compile-fail/static-assert2.rs
2013-12-08 02:55:27 -05:00

7 lines
112 B
Rust

#[allow(dead_code)];
#[static_assert]
static E: bool = 1 == 2; //~ ERROR static assertion failed
fn main() {}