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

8 lines
112 B
Rust

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