Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sakehl committed Jan 23, 2024
1 parent 4e2d379 commit 7c77722
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/main/vct/test/integration/examples/CSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,13 @@ class CSpec extends VercorsSpec {
};
void main() {
int *ip = NULL; // works
double *dp = NULL; // works
struct nested *np = NULL; // works
// np = (struct nested*) NULL; // causes "This cast is not supported"
int *ip = NULL;
double *dp = NULL;
struct nested *np = NULL;
// np = (struct nested*) NULL;
np = (struct nested*) malloc(sizeof(struct nested));
// np->inner = NULL; // causes "Expected the type of this expression to be `pointer<struct Unknown_35326835>`, but got ??TNull??()"
// np->inner = (struct nested*) NULL; // causes "This cast is not supported"
// np->inner = NULL;
// np->inner = (struct nested*) NULL;
}
"""
}

0 comments on commit 7c77722

Please sign in to comment.