diff options
| author | coqbot-app[bot] | 2020-11-18 22:00:25 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-18 22:00:25 +0000 |
| commit | 7ebdf6bdbca2be4fc4ecddff0ac97bbb41c80cd0 (patch) | |
| tree | b12b82d14a9249a671b27e84caf12cda999531c6 /test-suite/output | |
| parent | fea83b040f285e4316fd9d63d4c940d9fe444d91 (diff) | |
| parent | efa6673158f5eaa3fc11c0b3d1e3285c4acc129a (diff) | |
Merge PR #13312: [attributes] Allow boolean, single-value attributes.
Reviewed-by: Zimmi48
Reviewed-by: SkySkimmer
Ack-by: gares
Diffstat (limited to 'test-suite/output')
| -rw-r--r-- | test-suite/output/attributes.out | 11 | ||||
| -rw-r--r-- | test-suite/output/attributes.v | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test-suite/output/attributes.out b/test-suite/output/attributes.out new file mode 100644 index 0000000000..25572ee2aa --- /dev/null +++ b/test-suite/output/attributes.out @@ -0,0 +1,11 @@ +The command has indeed failed with message: +Attribute for canonical specified twice. +The command has indeed failed with message: +key 'polymorphic' has been already set. +The command has indeed failed with message: +Invalid value 'foo' for key polymorphic +use one of {yes, no} +The command has indeed failed with message: +Invalid syntax polymorphic(foo), try polymorphic={yes, no} instead. +The command has indeed failed with message: +Invalid syntax polymorphic(foo, bar), try polymorphic={yes, no} instead. diff --git a/test-suite/output/attributes.v b/test-suite/output/attributes.v new file mode 100644 index 0000000000..aef05e6cd4 --- /dev/null +++ b/test-suite/output/attributes.v @@ -0,0 +1,9 @@ +Fail #[canonical=yes, canonical=no] Definition a := 3. + +Fail #[universes(polymorphic=yes,polymorphic=no)] Definition a := 3. + +Fail #[universes(polymorphic=foo)] Definition a := 3. + +Fail #[universes(polymorphic(foo))] Definition a := 3. + +Fail #[universes(polymorphic(foo,bar))] Definition a := 3. |
