Skip to content

Commit

Permalink
Changing unimplemented test for yul
Browse files Browse the repository at this point in the history
  • Loading branch information
mijovic committed Sep 18, 2020
1 parent ea17515 commit 233266d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
8 changes: 4 additions & 4 deletions test/cmdlineTests/yul_unimplemented/err
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Error (1834): Unimplemented feature error: setToZero for type t_struct$_S_$4_storage not yet implemented! in FILENAME REMOVED
--> yul_unimplemented/input.sol:9:9:
Error (1834): Unimplemented feature error: Byte Arrays not yet implemented! in FILENAME REMOVED
--> yul_unimplemented/input.sol:6:9:
|
9 | delete str;
| ^^^^^^^^^^
6 | delete a;
| ^^^^^^^^
9 changes: 3 additions & 6 deletions test/cmdlineTests/yul_unimplemented/input.sol
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract test {
struct S {
uint x;
}
S str;
constructor() {
delete str;
bytes a;
function f() public {
delete a;
}
}

0 comments on commit 233266d

Please sign in to comment.