mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Changing unimplemented test for yul
This commit is contained in:
parent
4e8275df2c
commit
fa69378f4f
@ -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;
|
||||
| ^^^^^^^^
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user