]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | // run-pass |
0bf4aa26 | 2 | #![allow(dead_code)] |
970d7e83 LB |
3 | |
4 | type FontTableTag = u32; | |
5 | ||
6 | trait FontTableTagConversions { | |
1a4d82fc | 7 | fn tag_to_string(self); |
970d7e83 LB |
8 | } |
9 | ||
10 | impl FontTableTagConversions for FontTableTag { | |
1a4d82fc | 11 | fn tag_to_string(self) { |
970d7e83 LB |
12 | &self; |
13 | } | |
14 | } | |
223e47cc | 15 | |
1a4d82fc JJ |
16 | pub fn main() { |
17 | 5.tag_to_string(); | |
223e47cc | 18 | } |