diff options
| author | Emilio Jesus Gallego Arias | 2019-03-12 12:57:33 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-03-12 12:57:33 +0100 |
| commit | a5fc75ae3eac4bb2162c624f9d25b53dba022f01 (patch) | |
| tree | 8ea06aea8de163f3a3570500f7123aa20b27d38b /test-suite | |
| parent | 10c115915ec93b212b75f2fb3073624e6b554840 (diff) | |
| parent | 31f333031b66f7afdfc35662aca9f9f40bbccbd0 (diff) | |
Merge PR #9596: Fix #9595: missing non-primitive-record warning with 0 field record
Reviewed-by: ejgallego
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_9595.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_9595.v b/test-suite/bugs/closed/bug_9595.v new file mode 100644 index 0000000000..312ed7d045 --- /dev/null +++ b/test-suite/bugs/closed/bug_9595.v @@ -0,0 +1,11 @@ +Set Primitive Projections. +Set Warnings "+non-primitive-record". + +(* 0 fields *) +Fail Record foo := { a := 0 }. + +(* anonymous field *) +Fail Record foo := { _ : nat }. + +(* squashed *) +Fail Record foo : Prop := { a : nat }. |
