From 610ef9f1999c1dd201a121334394b10f6ac54bc7 Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Thu, 17 Jan 2019 12:59:11 +0100 Subject: Disallow calldata structs. --- .../syntaxTests/inheritance/override/calldata_memory_struct.sol | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/libsolidity/syntaxTests/inheritance/override') diff --git a/test/libsolidity/syntaxTests/inheritance/override/calldata_memory_struct.sol b/test/libsolidity/syntaxTests/inheritance/override/calldata_memory_struct.sol index 42aebf30..b81e3859 100644 --- a/test/libsolidity/syntaxTests/inheritance/override/calldata_memory_struct.sol +++ b/test/libsolidity/syntaxTests/inheritance/override/calldata_memory_struct.sol @@ -15,3 +15,7 @@ contract B is A { } // ---- // Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments. +// TypeError: (102-112): Calldata structs are not yet supported. +// TypeError: (146-156): Calldata structs are not yet supported. +// TypeError: (198-208): Calldata structs are not yet supported. +// TypeError: (250-260): Calldata structs are not yet supported. -- cgit v1.2.3