diff --git a/examples/dlist.rs b/examples/dlist.rs new file mode 100644 index 00000000000..91f3423fb44 --- /dev/null +++ b/examples/dlist.rs @@ -0,0 +1,14 @@ +#![feature(phase)] + +#[phase(plugin)] +extern crate rust_clippy; +extern crate collections; +use collections::dlist::DList; + +pub fn test(foo: DList) { + println!("{}", foo) +} + +fn main(){ + test(DList::new()); +} \ No newline at end of file