diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-07-30 22:43:50 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-07-31 17:17:51 +0800 |
commit | 210fee571fb786751763e731f6fb107891e13383 (patch) | |
tree | e3d8f0c078bdebd6c5932a003cf3ba822c87239e /test/libsolidity/syntaxTests/nameAndTypeResolution/290_varM_disqualified_as_keyword_2.sol | |
parent | bc13365a7b3920c361ff2ae5f1a9bb7e98ad07b2 (diff) | |
download | dexon-solidity-210fee571fb786751763e731f6fb107891e13383.tar dexon-solidity-210fee571fb786751763e731f6fb107891e13383.tar.gz dexon-solidity-210fee571fb786751763e731f6fb107891e13383.tar.bz2 dexon-solidity-210fee571fb786751763e731f6fb107891e13383.tar.lz dexon-solidity-210fee571fb786751763e731f6fb107891e13383.tar.xz dexon-solidity-210fee571fb786751763e731f6fb107891e13383.tar.zst dexon-solidity-210fee571fb786751763e731f6fb107891e13383.zip |
Fix crash when FunctionType has undeclared type as parameter
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/290_varM_disqualified_as_keyword_2.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/290_varM_disqualified_as_keyword_2.sol | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/290_varM_disqualified_as_keyword_2.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/290_varM_disqualified_as_keyword_2.sol new file mode 100644 index 00000000..b9590a8c --- /dev/null +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/290_varM_disqualified_as_keyword_2.sol @@ -0,0 +1,7 @@ +contract test { + function f() public { + intM should = 4; + } +} +// ---- +// DeclarationError: (50-54): Identifier not found or not unique. |