Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21170a1 commit 63b0dd6Copy full SHA for 63b0dd6
1 file changed
cpp/ql/test/library-tests/dataflow/modelgenerator/dataflow/summaries.cpp
@@ -198,4 +198,14 @@ int get_x_from_union(U* u) {
198
//contentbased-summary=;;true;set_x_in_union;(U *,int);;Argument[1];Argument[*0].Union[*U];value;dfc-generated
199
void set_x_in_union(U* u, int x) {
200
u->x = x;
201
+}
202
+
203
+struct HasInt {
204
+ int x;
205
+};
206
207
208
+int copy_struct(HasInt *out, const HasInt *in) {
209
+ *out = *in;
210
+ return 1;
211
}
0 commit comments