mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Commandline test for unimplemented IR.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
--ir --error-codes
|
||||
@@ -0,0 +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:
|
||||
|
|
||||
9 | delete str;
|
||||
| ^^^^^^^^^^
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1,11 @@
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity >=0.0;
|
||||
contract test {
|
||||
struct S {
|
||||
uint x;
|
||||
}
|
||||
S str;
|
||||
constructor() {
|
||||
delete str;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user