Changing unimplemented test for yul

This commit is contained in:
Djordje Mijovic 2020-09-18 14:05:24 +02:00
parent 4e8275df2c
commit fa69378f4f
2 changed files with 7 additions and 10 deletions

View File

@ -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;
| ^^^^^^^^

View File

@ -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;
}
}