diff options
author | chriseth <chris@ethereum.org> | 2018-05-23 21:15:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 21:15:34 +0800 |
commit | 230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85 (patch) | |
tree | eb4ad5c505571fda56a1f84a36a94e642537c938 /test/libsolidity/syntaxTests/parsing/external_function.sol | |
parent | 18c651b7d39ec5808ce29431aee4e0a90aa1e24f (diff) | |
parent | 31fa6a24df0e698a2c086a8efb7162fa13c061b8 (diff) | |
download | dexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.tar dexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.tar.gz dexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.tar.bz2 dexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.tar.lz dexon-solidity-230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85.tar.xz 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/external_function.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/external_function.sol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/external_function.sol b/test/libsolidity/syntaxTests/parsing/external_function.sol new file mode 100644 index 00000000..3aa3ceec --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/external_function.sol @@ -0,0 +1,5 @@ +contract c { + function x() external {} +} +// ---- +// Warning: (17-41): Function state mutability can be restricted to pure |