blob: 9b3982a785b7fa845ae277cea8029adbfb44f5f0 [file] [log] [blame]
static X: i32 = 42;
const Y: i32 = X; //~ ERROR constants cannot refer to statics [E0013]
fn main() {}