aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/constants
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-08-06 18:42:39 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-08-06 19:03:00 +0800
commit2ab66bf7986d2d92091b75f95a7c61ed9632f65d (patch)
tree2642079532ac2fa5bde0ce36c91260a7ad3a1ece /test/libsolidity/syntaxTests/constants
parent74e6067347eb822c2e107c29d6ea58f22b328de7 (diff)
downloaddexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar
dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.gz
dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.bz2
dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.lz
dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.xz
dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.zst
dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.zip
Cleanup 0.5.0 test cases
Diffstat (limited to 'test/libsolidity/syntaxTests/constants')
-rw-r--r--test/libsolidity/syntaxTests/constants/assign_constant_function_value_050.sol8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/libsolidity/syntaxTests/constants/assign_constant_function_value_050.sol b/test/libsolidity/syntaxTests/constants/assign_constant_function_value_050.sol
deleted file mode 100644
index 2c92899d..00000000
--- a/test/libsolidity/syntaxTests/constants/assign_constant_function_value_050.sol
+++ /dev/null
@@ -1,8 +0,0 @@
-pragma experimental "v0.5.0";
-
-contract C {
- function () pure returns (uint) x;
- uint constant y = x();
-}
-// ----
-// TypeError: (105-108): Initial value for constant variable has to be compile-time constant.