blob: 3d427ed0efdfc82900ae6ec065f90f7020ba0ca0 (
plain)
1
2
3
4
5
6
7
8
|
// Syntactically, a foreign static may not have a body.
fn main() {}
extern "C" {
static X: u8 = 0; //~ ERROR incorrect `static` inside `extern` block
static mut Y: u8 = 0; //~ ERROR incorrect `static` inside `extern` block
}
|