From 49573bad46f7c108bd3a00ec785f7da6a0066530 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 24 Jul 2018 20:18:34 +0100 Subject: Add syntax test for illegal pragma key --- test/libsolidity/syntaxTests/parsing/pragma_illegal.sol | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/libsolidity/syntaxTests/parsing/pragma_illegal.sol (limited to 'test/libsolidity') diff --git a/test/libsolidity/syntaxTests/parsing/pragma_illegal.sol b/test/libsolidity/syntaxTests/parsing/pragma_illegal.sol new file mode 100644 index 00000000..3395f6be --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/pragma_illegal.sol @@ -0,0 +1,4 @@ +pragma ``; +// ---- +// ParserError: (7-8): Token incompatible with Solidity parser as part of pragma directive. +// ParserError: (8-9): Token incompatible with Solidity parser as part of pragma directive. -- cgit