]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | // Semantically, a free `static` item cannot omit its body. |
2 | ||
3 | fn main() {} | |
4 | ||
5 | static A: u8; //~ ERROR free static item without body | |
6 | static B; //~ ERROR free static item without body | |
74b04a01 XL |
7 | |
8 | static mut C: u8; //~ ERROR free static item without body | |
9 | static mut D; //~ ERROR free static item without body |