2019-07-26 16:54:25 -05:00
|
|
|
// run-pass
|
|
|
|
|
2018-09-17 04:18:35 -05:00
|
|
|
#![allow(non_upper_case_globals)]
|
2018-04-19 15:11:43 -05:00
|
|
|
#![feature(rustc_private)]
|
2020-07-04 10:20:24 -05:00
|
|
|
extern crate rustc_macros;
|
2020-06-02 14:46:42 -05:00
|
|
|
extern crate rustc_serialize;
|
2018-04-19 15:11:43 -05:00
|
|
|
|
2020-07-04 10:20:24 -05:00
|
|
|
use rustc_macros::{Decodable, Encodable};
|
|
|
|
|
2022-12-12 13:37:28 -06:00
|
|
|
// Necessary to pull in object code as the rest of the rustc crates are shipped only as rmeta
|
|
|
|
// files.
|
|
|
|
#[allow(unused_extern_crates)]
|
|
|
|
extern crate rustc_driver;
|
|
|
|
|
2018-04-19 15:11:43 -05:00
|
|
|
pub const other: u8 = 1;
|
|
|
|
pub const f: u8 = 1;
|
|
|
|
pub const d: u8 = 1;
|
|
|
|
pub const s: u8 = 1;
|
|
|
|
pub const state: u8 = 1;
|
|
|
|
pub const cmp: u8 = 1;
|
|
|
|
|
2020-07-04 10:20:24 -05:00
|
|
|
#[derive(Ord, Eq, PartialOrd, PartialEq, Debug, Decodable, Encodable, Hash)]
|
2018-04-19 15:11:43 -05:00
|
|
|
struct Foo {}
|
|
|
|
|
2020-07-04 10:20:24 -05:00
|
|
|
fn main() {}
|