aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/events/event_struct_indexed.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/events/event_struct_indexed.sol')
-rw-r--r--test/libsolidity/syntaxTests/events/event_struct_indexed.sol6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/events/event_struct_indexed.sol b/test/libsolidity/syntaxTests/events/event_struct_indexed.sol
new file mode 100644
index 00000000..69ee5017
--- /dev/null
+++ b/test/libsolidity/syntaxTests/events/event_struct_indexed.sol
@@ -0,0 +1,6 @@
+contract c {
+ struct S { uint a ; }
+ event E(S indexed);
+}
+// ----
+// TypeError: (51-52): This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature.