PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/src/test/run-pass/bool-not.rs

http://github.com/jruderman/rust
Rust | 8 lines | 4 code | 3 blank | 1 comment | 4 complexity | 4a7cc553e0f5b2e47daa96cb9b953556 MD5 | raw file
1
2
3
4// -*- rust -*-
5fn main() {
6    if !false { assert (true); } else { assert (false); }
7    if !true { assert (false); } else { assert (true); }
8}