aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2015-01-17 09:43:54 +0100
committerMatthieu Sozeau2015-01-18 00:16:43 +0530
commite13f0bb3391177bb614d26d07383c94b96d0bf4c (patch)
tree0fa2a0d65df2fce45bf0c0dcc07bee8516da5354
parentabb4fedbcbb66c5993680f5dc5d0d7607aa8e4f2 (diff)
Revert "Update test for #3363 now that Require is forbidden inside modules."
This reverts commit 1c6e7d3744d101124ed0152c2aac1e71c9f9d40d.
-rw-r--r--test-suite/bugs/opened/3363.v17
1 files changed, 16 insertions, 1 deletions
diff --git a/test-suite/bugs/opened/3363.v b/test-suite/bugs/opened/3363.v
index 8307fdf506..800d89573c 100644
--- a/test-suite/bugs/opened/3363.v
+++ b/test-suite/bugs/opened/3363.v
@@ -1,4 +1,19 @@
-(** In this file, either both [Check]s should fail, or both should succeed. *)
+(** In this file, either all four [Check]s should fail, or all four should succeed. *)
+Module A.
+ Section HexStrings.
+ Require Import String.
+ End HexStrings.
+ Fail Check string.
+End A.
+
+Module B.
+ Section HexStrings.
+ Require String.
+ Import String.
+ End HexStrings.
+ Fail Check string.
+End B.
+
Section HexStrings.
Require String.
Import String.