Commandline test for unimplemented IR.

This commit is contained in:
chriseth
2020-09-15 14:42:04 +02:00
parent 8c8c83a104
commit 2f41245e43
6 changed files with 20 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
--ir --error-codes
+5
View File
@@ -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;
| ^^^^^^^^^^
+1
View File
@@ -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;
}
}