aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/empty_struct.sol
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/syntaxTests/empty_struct.sol
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/syntaxTests/empty_struct.sol')
-rw-r--r--test/libsolidity/syntaxTests/empty_struct.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/empty_struct.sol b/test/libsolidity/syntaxTests/empty_struct.sol
index 12655309..0a52fb72 100644
--- a/test/libsolidity/syntaxTests/empty_struct.sol
+++ b/test/libsolidity/syntaxTests/empty_struct.sol
@@ -2,4 +2,4 @@ contract test {
struct A {}
}
// ----
-// Warning: (17-28): Defining empty structs is deprecated.
+// SyntaxError: (17-28): Defining empty structs is disallowed.