mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
7 lines
71 B
V
7 lines
71 B
V
fn test_match() {
|
|
match 5 {
|
|
0..10 { '0-9' }
|
|
else { 'other' }
|
|
}
|
|
}
|