Fix output expectations in cls_dbls_struct.c test
This test with invalid output expectations may fail on some targets (e.g. ARC processors). Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
This commit is contained in:
@@ -57,10 +57,10 @@ int main(int argc __UNUSED__, char** argv __UNUSED__)
|
|||||||
CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_gn, NULL, code) == FFI_OK);
|
CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_gn, NULL, code) == FFI_OK);
|
||||||
|
|
||||||
((void*(*)(Dbls))(code))(arg);
|
((void*(*)(Dbls))(code))(arg);
|
||||||
/* { dg-output "1.0 2.0\n" } */
|
/* { dg-output "1.0 2.0" } */
|
||||||
|
|
||||||
closure_test_fn(arg);
|
closure_test_fn(arg);
|
||||||
/* { dg-output "1.0 2.0\n" } */
|
/* { dg-output "\n1.0 2.0" } */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user