2019-10-24 12:19:05 +03:00
|
|
|
pub const (
|
2019-10-21 08:57:29 +03:00
|
|
|
// c = a // TODO
|
|
|
|
a = b
|
|
|
|
b = 1
|
|
|
|
)
|
|
|
|
|
2019-10-24 12:19:05 +03:00
|
|
|
struct Foo {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-10-21 08:57:29 +03:00
|
|
|
fn test_const() {
|
|
|
|
assert a == 1
|
|
|
|
// assert c == 1 // TODO: This will not build yet
|
2019-10-24 12:19:05 +03:00
|
|
|
}
|