aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/function_type_state_variable.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-05-16 09:06:47 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-05-16 09:48:37 +0800
commit7fb43fe8542679fe91fef460d1a5d15fb8f83cca (patch)
tree31f54c66991b8aa5fa287031cd17025041aebb93 /test/libsolidity/syntaxTests/parsing/function_type_state_variable.sol
parent2ba0002998d12ea412f17d55b643ec85c02e6a30 (diff)
downloaddexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar
dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar.gz
dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar.bz2
dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar.lz
dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar.xz
dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.tar.zst
dexon-solidity-7fb43fe8542679fe91fef460d1a5d15fb8f83cca.zip
Move couple of parser tests to syntax tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/function_type_state_variable.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/function_type_state_variable.sol4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/function_type_state_variable.sol b/test/libsolidity/syntaxTests/parsing/function_type_state_variable.sol
new file mode 100644
index 00000000..eff52c7c
--- /dev/null
+++ b/test/libsolidity/syntaxTests/parsing/function_type_state_variable.sol
@@ -0,0 +1,4 @@
+contract test {
+ function() x;
+ function() y = x;
+} \ No newline at end of file