Skip to content

Commit

Permalink
Merge branch 'main' into ferranbt/ast-check-break-stmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranbt authored Nov 11, 2024
2 parents f71cf07 + 871ef68 commit 8227a2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/ui/parser/pragma_unknown.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ pragma amogus 69;
//~^ ERROR: unknown pragma
pragma amogus 69 diwqbn9ru3b2q945 390ru31290r 0qjr09wadm;
//~^ ERROR: unknown pragma
pragma amogus 0.8.15;
//~^ ERROR: only `solidity` is supported as a version pragma
9 changes: 8 additions & 1 deletion tests/ui/parser/pragma_unknown.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,12 @@ LL | pragma amogus 69 diwqbn9ru3b2q945 390ru31290r 0qjr09wadm;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|

error: aborting due to 5 previous errors
error: only `solidity` is supported as a version pragma
--> ROOT/tests/ui/parser/pragma_unknown.sol:LL:CC
|
LL | pragma amogus 0.8.15;
| ^^^^^^
|

error: aborting due to 6 previous errors

0 comments on commit 8227a2e

Please sign in to comment.