aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests
diff options
context:
space:
mode:
authorChristian Parpart <christian@parpart.family>2018-08-10 17:51:41 +0800
committerChristian Parpart <christian@ethereum.org>2018-08-14 21:36:03 +0800
commit81faafe7f233f185b5efd9340ccb0185baf226e4 (patch)
treea790170f0fdf7042707d875be7aa284c4a4a4875 /test/libsolidity/syntaxTests
parent8f0c2a46db787de166f7bcaed2180fcab9248d12 (diff)
downloaddexon-solidity-81faafe7f233f185b5efd9340ccb0185baf226e4.tar.gz
dexon-solidity-81faafe7f233f185b5efd9340ccb0185baf226e4.tar.zst
dexon-solidity-81faafe7f233f185b5efd9340ccb0185baf226e4.zip
Adds support for structs in interfaces.
Closes #4733.
Diffstat (limited to 'test/libsolidity/syntaxTests')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/419_interface_structs.sol3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/419_interface_structs.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/419_interface_structs.sol
index c74d52d3..385ed18e 100644
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/419_interface_structs.sol
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/419_interface_structs.sol
@@ -1,9 +1,6 @@
interface I {
struct A {
- // This is currently expected to break, but it *may* change in the future.
int dummy;
}
}
// ----
-// TypeError: (18-136): Structs cannot be defined in interfaces.
-// TypeError: (120-129): Variables cannot be declared in interfaces.