diff options
| author | Hugo Herbelin | 2019-12-27 13:30:49 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2019-12-27 13:30:49 +0100 |
| commit | 9c74438f09c2dddaa320eccf4d0842c77e3c863d (patch) | |
| tree | 53a3b812bd8c08715e3a9f7b77681f4eb3d51fef /test-suite | |
| parent | 4c19baf3a1b0ee9b1e94df4bca29c53125445db8 (diff) | |
| parent | fcd903c299db00d5c8d3e2fa797404eb880b61ac (diff) | |
Merge PR #11315: Ensure that a custom entry cannot be defined twice.
Reviewed-by: herbelin
Reviewed-by: maximedenes
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/custom_entry.v | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test-suite/success/custom_entry.v b/test-suite/success/custom_entry.v new file mode 100644 index 0000000000..e88ae65e18 --- /dev/null +++ b/test-suite/success/custom_entry.v @@ -0,0 +1,13 @@ +Declare Custom Entry foo. + +Print Custom Grammar foo. + +Notation "[ e ]" := e (e custom foo at level 0). + +Print Custom Grammar foo. + +Notation "1" := O (in custom foo at level 0). + +Print Custom Grammar foo. + +Fail Declare Custom Entry foo. |
