File tree 4 files changed +12
-9
lines changed
ocaml/testsuite/tests/typing-layouts-err-msg
testsuite/tests/unboxed-primitive-args
4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 7
7
"*.mlp" : " ocaml" ,
8
8
"smmintrin.h" : " c" ,
9
9
"tmmintrin.h" : " c" ,
10
- "pmmintrin.h" : " c"
10
+ "pmmintrin.h" : " c" ,
11
+ "*.tbl" : " c"
11
12
}
12
- }
13
+ }
Original file line number Diff line number Diff line change 1
1
(* TEST
2
2
setup-ocamlopt.opt-build-env;
3
+ arch_amd64;
3
4
flags = "-extension layouts_alpha";
4
5
compiler_reference2 = "${test_source_directory}/probe.reference";
5
6
ocamlopt_opt_exit_status = "2";
Original file line number Diff line number Diff line change 1
- File "probe.ml", line 12 , characters 6-7:
2
- 12 | let f () = x in
1
+ File "probe.ml", line 13 , characters 6-7:
2
+ 13 | let f () = x in
3
3
^
4
4
Warning 26 [unused-var]: unused variable f.
5
5
6
- File "probe.ml", lines 11-14 , characters 20-2:
7
- 11 | ....................[%probe "a" (
8
- 12 | let f () = x in
9
- 13 | ()
10
- 14 | )]
6
+ File "probe.ml", lines 12-15 , characters 20-2:
7
+ 12 | ....................[%probe "a" (
8
+ 13 | let f () = x in
9
+ 14 | ()
10
+ 15 | )]
11
11
Error: Variables in probe handlers must have jkind value, but x in this handler does not.
Original file line number Diff line number Diff line change 1
1
(* TEST
2
2
readonly_files = "common.mli common.ml test_common.c test_common.h";
3
3
flambda2;
4
+ arch_amd64;
4
5
setup-ocamlopt.opt-build-env;
5
6
test_file = "${test_source_directory}/gen_test.ml";
6
7
ocaml_script_as_argument = "true";
You can’t perform that action at this time.
0 commit comments