PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/list.rs

http://github.com/jruderman/rust
Rust | 7 lines | 2 code | 4 blank | 1 comment | 0 complexity | 7570d664e5048d2d654956a6d10cd1d7 MD5 | raw file
1
2
3
4// -*- rust -*-
5enum list { cons(int, @list), nil, }
6
7fn main() { cons(10, @cons(11, @cons(12, @nil))); }