Merge pull request #4553 from ethereum/pragma-tests

Add syntax tests for unknown / invalid pragma
This commit is contained in:
Alex Beregszaszi
2018-07-24 19:58:35 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
@@ -0,0 +1,3 @@
pragma 0;
// ----
// SyntaxError: (0-9): Invalid pragma "0"
@@ -0,0 +1,3 @@
pragma thisdoesntexist;
// ----
// SyntaxError: (0-23): Unknown pragma "thisdoesntexist"