diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/var_array.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/var_array.sol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/var_array.sol b/test/libsolidity/syntaxTests/parsing/var_array.sol new file mode 100644 index 00000000..60f6dc28 --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/var_array.sol @@ -0,0 +1,5 @@ +contract Foo { + function f() { var[] a; } +} +// ---- +// ParserError: (34-34): Expected identifier, got 'LBrack' |