aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-14 14:41:36 +0800
committerGitHub <noreply@github.com>2018-06-14 14:41:36 +0800
commit66188573edf65acdbf3f4df00f70c85d3bf55787 (patch)
treede225bc1e0f6f0dc29ab7984088752106dbfe5cd /test/libsolidity/SolidityEndToEndTest.cpp
parent014bbc6c97a4abdf8eed5d0273d00c80308e355d (diff)
parenta211b8911885ded6ddcd4d7400994a85235fe8e4 (diff)
downloaddexon-solidity-66188573edf65acdbf3f4df00f70c85d3bf55787.tar
dexon-solidity-66188573edf65acdbf3f4df00f70c85d3bf55787.tar.gz
dexon-solidity-66188573edf65acdbf3f4df00f70c85d3bf55787.tar.bz2
dexon-solidity-66188573edf65acdbf3f4df00f70c85d3bf55787.tar.lz
dexon-solidity-66188573edf65acdbf3f4df00f70c85d3bf55787.tar.xz
dexon-solidity-66188573edf65acdbf3f4df00f70c85d3bf55787.tar.zst
dexon-solidity-66188573edf65acdbf3f4df00f70c85d3bf55787.zip
Merge pull request #4236 from ethereum/v050-disallow-empty-structs
[BREAKING] Enforce disallowing empty structs
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index 236d83ef..c80aa8ba 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -1271,7 +1271,6 @@ BOOST_AUTO_TEST_CASE(deleteStruct)
contract test {
struct topStruct {
nestedStruct nstr;
- emptyStruct empty;
uint topValue;
mapping (uint => uint) topMapping;
}
@@ -1281,8 +1280,6 @@ BOOST_AUTO_TEST_CASE(deleteStruct)
uint nestedValue;
mapping (uint => bool) nestedMapping;
}
- struct emptyStruct{
- }
function test(){
toDelete = 5;
str.topValue = 1;