C++: Accept test changes.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-07-22 11:21:52 +01:00
parent 73e4bfdd3e
commit fca49dde92
7 changed files with 120 additions and 13 deletions

View File

@@ -216,7 +216,7 @@ namespace GlobalFieldFlow {
}
void read_field() {
sink(global_s.m1); // $ MISSING: ast,ir
sink(global_s.m1); // $ ir MISSING: ast
}
void set_nested_field() {
@@ -224,7 +224,7 @@ namespace GlobalFieldFlow {
}
void read_nested_field() {
sink(global_s2.s.m1); // $ MISSING: ast,ir
sink(global_s2.s.m1); // $ ir MISSING: ast
}
S* global_s_ptr;
@@ -235,7 +235,7 @@ namespace GlobalFieldFlow {
}
void read_field_ptr() {
sink(global_s_ptr->m1); // $ MISSING: ast,ir
sink(global_s_ptr->m1); // $ ir MISSING: ast
}
void set_nested_field_ptr() {
@@ -243,7 +243,7 @@ namespace GlobalFieldFlow {
}
void read_nested_field_ptr() {
sink(global_s2_ptr->s.m1); // $ MISSING: ast,ir
sink(global_s2_ptr->s.m1); // $ ir MISSING: ast
}
S_with_pointer global_s_with_pointer;
@@ -253,7 +253,7 @@ namespace GlobalFieldFlow {
}
void read_field_indirect() {
sink(*global_s_with_pointer.data); // $ MISSING: ast,ir
sink(*global_s_with_pointer.data); // $ ir MISSING: ast
}
S_with_array global_s_with_array;
@@ -263,6 +263,6 @@ namespace GlobalFieldFlow {
}
void read_field_array() {
sink(*global_s_with_array.data); // $ MISSING: ast,ir
sink(*global_s_with_array.data); // $ ir MISSING: ast
}
}