aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/fallback_function.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-05-23 21:15:34 +0800
committerGitHub <noreply@github.com>2018-05-23 21:15:34 +0800
commit230bca37c32e5e6603bc2c25a0cff7d8d4fb0d85 (patch)
treeeb4ad5c505571fda56a1f84a36a94e642537c938 /test/libsolidity/syntaxTests/parsing/fallback_function.sol
parent18c651b7d39ec5808ce29431aee4e0a90aa1e24f (diff)
parent31fa6a24df0e698a2c086a8efb7162fa13c061b8 (diff)
downloaddexon-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/fallback_function.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/fallback_function.sol5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/fallback_function.sol b/test/libsolidity/syntaxTests/parsing/fallback_function.sol
new file mode 100644
index 00000000..de32b030
--- /dev/null
+++ b/test/libsolidity/syntaxTests/parsing/fallback_function.sol
@@ -0,0 +1,5 @@
+contract c {
+ function() { }
+}
+// ----
+// Warning: (17-31): No visibility specified. Defaulting to "public".