summary refs log tree commit diff
path: root/src/test/compile-fail/static-assert2.rs
blob: ceaa388917984a7117a0ed519baf2b14f6123327 (plain)
1
2
3
4
5
6
#[allow(dead_code)];

#[static_assert]
static E: bool = 1 == 2; //~ ERROR static assertion failed

fn main() {}