]> git.lizzy.rs Git - rust.git/blob - tests/source/static.rs
Format source codes
[rust.git] / tests / source / static.rs
1 const FILE_GENERIC_READ: DWORD =
2                 STANDARD_RIGHTS_READ | FILE_READ_DATA |
3                 FILE_READ_ATTRIBUTES | FILE_READ_EA | SYNCHRONIZE;
4
5 static boolnames: &'static[&'static str] = &["bw", "am", "xsb", "xhp", "xenl", "eo",
6     "gn", "hc", "km", "hs", "in", "db", "da", "mir", "msgr", "os", "eslok", "xt", "hz", "ul", "xon",
7     "nxon", "mc5i", "chts", "nrrmc", "npc", "ndscr", "ccc", "bce", "hls", "xhpa", "crxm", "daisy",
8     "xvpa", "sam", "cpix", "lpix", "OTbs", "OTns", "OTnc", "OTMT", "OTNL", "OTpt", "OTxr"];
9
10 static mut name: SomeType = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;
11
12  pub   static   count  :  u8  = 10 ;
13
14 pub const test: &Type = &val;
15
16 impl Color {
17     pub const WHITE: u32 = 10;
18 }
19
20 // #1391
21 pub const XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX: NTSTATUS = 0 as usize;