diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-07 03:45:34 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-13 18:20:11 +0800 |
commit | 49eaf7c3fd98a2983ac7c9f0994fbca0b73a33c1 (patch) | |
tree | 5ed183d69280b4f2c561af4e2169a304f7362ddd /test/libsolidity/syntaxTests/double_stateVariable_declaration.sol | |
parent | f2614be95f71a274db3c172661726dd007e90cf7 (diff) | |
download | dexon-solidity-49eaf7c3fd98a2983ac7c9f0994fbca0b73a33c1.tar.gz dexon-solidity-49eaf7c3fd98a2983ac7c9f0994fbca0b73a33c1.tar.zst dexon-solidity-49eaf7c3fd98a2983ac7c9f0994fbca0b73a33c1.zip |
Infrastructure for extracting syntax tests in separate test files.
Diffstat (limited to 'test/libsolidity/syntaxTests/double_stateVariable_declaration.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/double_stateVariable_declaration.sol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/double_stateVariable_declaration.sol b/test/libsolidity/syntaxTests/double_stateVariable_declaration.sol new file mode 100644 index 00000000..c5507b64 --- /dev/null +++ b/test/libsolidity/syntaxTests/double_stateVariable_declaration.sol @@ -0,0 +1,6 @@ +contract test { + uint256 variable; + uint128 variable; +} +// ---- +// DeclarationError: Identifier already declared. |