]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/deriving-hygiene.rs
pin docs: add some forward references
[rust.git] / src / test / ui-fulldeps / deriving-hygiene.rs
1 // run-pass
2
3 #![allow(non_upper_case_globals)]
4 #![feature(rustc_private)]
5 extern crate rustc_serialize;
6
7 pub const other: u8 = 1;
8 pub const f: u8 = 1;
9 pub const d: u8 = 1;
10 pub const s: u8 = 1;
11 pub const state: u8 = 1;
12 pub const cmp: u8 = 1;
13
14 #[derive(Ord,Eq,PartialOrd,PartialEq,Debug,RustcDecodable,RustcEncodable,Hash)]
15 struct Foo {}
16
17 fn main() {
18 }