aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/modifiers/legal_modifier_override.sol
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/syntaxTests/modifiers/legal_modifier_override.sol')
-rw-r--r--test/libsolidity/syntaxTests/modifiers/legal_modifier_override.sol2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/modifiers/legal_modifier_override.sol b/test/libsolidity/syntaxTests/modifiers/legal_modifier_override.sol
new file mode 100644
index 00000000..51c3fd80
--- /dev/null
+++ b/test/libsolidity/syntaxTests/modifiers/legal_modifier_override.sol
@@ -0,0 +1,2 @@
+contract A { modifier mod(uint a) { _; } }
+contract B is A { modifier mod(uint a) { _; } }