mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
5818956cdc
* cgen: % escape in c call to _STR * tests: add test for string % escape * Add a test for the % escaping when interpolating inside strings
7 lines
81 B
V
7 lines
81 B
V
|
|
fn main() {
|
|
test := 'hello'
|
|
hello := 'world'
|
|
println('%.*s$hello$test')
|
|
}
|