Skip to content

Commit

Permalink
Fixed one of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
QFSW committed Mar 26, 2019
1 parent 5dd1e74 commit bd14b1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/compiler/tests/sizeof/var/sizeof_array_element.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
int sizeof_array_local()
int sizeof_array_element()
{
int x[5];
return sizeof(x[3]);
Expand Down
5 changes: 3 additions & 2 deletions test/parser/testProgram.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
int sizeof_long()
int sizeof_array_local()
{
return sizeof(int**);
int x[5];
return sizeof(x[3]);
}

0 comments on commit bd14b1f

Please sign in to comment.