aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/modifier.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-05-23 21:15:34 +0800
committerGitHub <noreply@github.com>2018-05-23 21:15:34 +0800
commit230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85 (patch)
treeeb4ad5c505571fda56a1f84a36a94e642537c938 /test/libsolidity/syntaxTests/parsing/modifier.sol
parent18c651b7d39ec5808ce29431aee4e0a90aa1e24f (diff)
parent31fa6a24df0e698a2c086a8efb7162fa13c061b8 (diff)
downloaddexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.tar.gz
dexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.tar.zst
dexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.zip
Merge pull request #4157 from ethereum/parser-tests
Move more parser tests to syntax tests
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/modifier.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/modifier.sol3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/modifier.sol b/test/libsolidity/syntaxTests/parsing/modifier.sol
new file mode 100644
index 00000000..3e659dcf
--- /dev/null
+++ b/test/libsolidity/syntaxTests/parsing/modifier.sol
@@ -0,0 +1,3 @@
+contract c {
+ modifier mod { if (msg.sender == 0) _; }
+}