We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea31f5 commit 44b95ecCopy full SHA for 44b95ec
1 file changed
test/struct_array_field/struct_array_field.c
@@ -3,13 +3,7 @@
3
// Regression test for the struct array-field emission fix.
4
//
5
// Exercises `s->arr_field[i]` (read and write) on a struct passed by
6
-// pointer. Before the fix, Member access on an _array T * field went
7
-// through __get_<fld>, which returned an awkward `ref (array T)`
8
-// requiring a `!` deref at the call site (only verifying through a
9
-// chain of rewrites_to that happened to bottom out at the value-record
10
-// path). After the fix, Member access for an array field on an LValue
11
-// receiver emits `(!x).struct_S__f` directly, so the handle the user
12
-// works with is exactly the path the struct predicate speaks about.
+// pointer.
13
14
typedef struct {
15
_array unsigned *data;
0 commit comments