From 7b5e9128747ff6f8775cdd2aa2029039f9850c2b Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 24 Jul 2018 20:22:46 +0100 Subject: Add syntax tests for import statements --- test/libsolidity/syntaxTests/parsing/import_invalid_token.sol | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/libsolidity/syntaxTests/parsing/import_invalid_token.sol (limited to 'test/libsolidity/syntaxTests/parsing/import_invalid_token.sol') diff --git a/test/libsolidity/syntaxTests/parsing/import_invalid_token.sol b/test/libsolidity/syntaxTests/parsing/import_invalid_token.sol new file mode 100644 index 00000000..df837e28 --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/import_invalid_token.sol @@ -0,0 +1,3 @@ +import function; +// ---- +// ParserError: (7-15): Expected string literal (path), "*" or alias list. -- cgit