We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e88bb72 commit 19119aaCopy full SHA for 19119aa
ocaml/testsuite/tests/letrec-compilation/store_in_local.ml
@@ -0,0 +1,7 @@
1
+(* TEST *)
2
+
3
+(* If stack allocation is enabled, the record will be allocated locally.
4
+ This is allowed by the type-checker, but the dissect_letrec code
5
+ choked on it. *)
6
+type t = { a : int }
7
+let rec x = let _ = { a = x } in 3
0 commit comments