2019-11-04 00:00:00 +00:00
|
|
|
// check-pass
|
2018-09-25 21:51:35 +00:00
|
|
|
#![allow(dead_code)]
|
2018-08-31 13:02:01 +00:00
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
|
2014-03-05 23:28:08 +00:00
|
|
|
|
2015-03-22 20:13:15 +00:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2013-12-10 07:16:18 +00:00
|
|
|
struct font<'a> {
|
2014-03-05 22:02:44 +00:00
|
|
|
fontbuf: &'a Vec<u8> ,
|
2012-09-08 02:04:40 +00:00
|
|
|
}
|
2012-06-07 02:20:38 +00:00
|
|
|
|
2013-12-10 07:16:18 +00:00
|
|
|
impl<'a> font<'a> {
|
2014-03-05 22:02:44 +00:00
|
|
|
pub fn buf(&self) -> &'a Vec<u8> {
|
2012-06-07 02:20:38 +00:00
|
|
|
self.fontbuf
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-18 04:44:59 +00:00
|
|
|
fn font(fontbuf: &Vec<u8> ) -> font {
|
2012-09-05 22:58:43 +00:00
|
|
|
font {
|
|
|
|
fontbuf: fontbuf
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-02 03:43:17 +00:00
|
|
|
pub fn main() { }
|