mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: remove map reference test
This commit is contained in:
parent
4fc5e83771
commit
60c936a688
|
@ -72,12 +72,3 @@ fn test_unsafe_if_stmt() {
|
||||||
x := unsafe_if_stmt()
|
x := unsafe_if_stmt()
|
||||||
assert x == 4
|
assert x == 4
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_map_address_index() {
|
|
||||||
mut m := {
|
|
||||||
'one': 1
|
|
||||||
}
|
|
||||||
mut one := unsafe {&m['one']}
|
|
||||||
(*one)++
|
|
||||||
println(*one)
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user