-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for #351 (crash on parse failure for deriving clause)
- Loading branch information
1 parent
06c8534
commit f636b3d
Showing
3 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module Fail.DerivingParseFailure where | ||
|
||
record Example : Set where | ||
{-# COMPILE AGDA2HS Example deriving !& #-} | ||
-- {-# COMPILE AGDA2HS Example deriving Show via Foo #-} | ||
-- {-# COMPILE AGDA2HS Example deriving (Show, Eq, Ord) class #-} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
test/Fail/DerivingParseFailure.agda:4,1-44 | ||
Parse error: !& |