diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-17 15:04:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-22 19:25:04 +0800 |
commit | 31fa6a24df0e698a2c086a8efb7162fa13c061b8 (patch) | |
tree | a1474b3f17f485bc44322d455188b48d6e810c1d /test/libsolidity/syntaxTests/parsing/exp_expression.sol | |
parent | e97f9b6ba85b5cf5d347f1771524d0b0973e00bb (diff) | |
download | dexon-solidity-31fa6a24df0e698a2c086a8efb7162fa13c061b8.tar.gz dexon-solidity-31fa6a24df0e698a2c086a8efb7162fa13c061b8.tar.zst dexon-solidity-31fa6a24df0e698a2c086a8efb7162fa13c061b8.zip |
Move more parser tests to syntax tests
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/exp_expression.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/exp_expression.sol | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/exp_expression.sol b/test/libsolidity/syntaxTests/parsing/exp_expression.sol new file mode 100644 index 00000000..cdabb996 --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/exp_expression.sol @@ -0,0 +1,9 @@ +contract test { + function fun(uint256 a) { + uint256 x = 3 ** a; + } +} +// ---- +// Warning: (20-79): No visibility specified. Defaulting to "public". +// Warning: (54-63): Unused local variable. +// Warning: (20-79): Function state mutability can be restricted to pure |