Add a test for #1697

This commit is contained in:
topecongiro 2017-06-16 18:58:15 +09:00
parent 9b73490491
commit 897d7bdcb9
2 changed files with 11 additions and 0 deletions

View file

@ -143,3 +143,7 @@ fn issue1329() {
fn issue325() {
let f = || unsafe { xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx };
}
fn issue1697() {
Test.func_a(A_VERY_LONG_CONST_VARIABLE_NAME, move |arg1, arg2, arg3, arg4| arg1 + arg2 + arg3 + arg4)
}

View file

@ -167,3 +167,10 @@ fn issue325() {
let f =
|| unsafe { xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx };
}
fn issue1697() {
Test.func_a(
A_VERY_LONG_CONST_VARIABLE_NAME,
move |arg1, arg2, arg3, arg4| arg1 + arg2 + arg3 + arg4,
)
}