aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/import_invalid_token.sol
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-07-25 03:22:46 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-07-25 18:01:41 +0800
commit7b5e9128747ff6f8775cdd2aa2029039f9850c2b (patch)
tree4093a38b4d5bf7662e5db138fc4b34a41179efcc /test/libsolidity/syntaxTests/parsing/import_invalid_token.sol
parent49573bad46f7c108bd3a00ec785f7da6a0066530 (diff)
downloaddexon-solidity-7b5e9128747ff6f8775cdd2aa2029039f9850c2b.tar.gz
dexon-solidity-7b5e9128747ff6f8775cdd2aa2029039f9850c2b.tar.zst
dexon-solidity-7b5e9128747ff6f8775cdd2aa2029039f9850c2b.zip
Add syntax tests for import statements
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/import_invalid_token.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/import_invalid_token.sol3
1 files changed, 3 insertions, 0 deletions
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.