aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorEnrico Tassi2016-12-07 12:37:13 +0100
committerEnrico Tassi2016-12-07 12:45:54 +0100
commitb8ff373631bc7b4a6aca4dcb51b1080d210d99fe (patch)
treeb9b80aa749361c4d79fe581b01ab4805f0c65871 /mathcomp
parent5b4d0a94d59e3681f24cdcdb27485365b456a1f5 (diff)
new test for "rewrite /x" when x is Opaque
Diffstat (limited to 'mathcomp')
-rw-r--r--mathcomp/Make1
-rw-r--r--mathcomp/ssrtest/Make1
-rw-r--r--mathcomp/ssrtest/unfold_Opaque.v8
3 files changed, 10 insertions, 0 deletions
diff --git a/mathcomp/Make b/mathcomp/Make
index 2aaaf9e..a7ffeb0 100644
--- a/mathcomp/Make
+++ b/mathcomp/Make
@@ -167,6 +167,7 @@ ssrtest/ssrsyntax2.v
ssrtest/tc.v
ssrtest/testmx.v
ssrtest/typeof.v
+ssrtest/unfold_Opaque.v
ssrtest/unkeyed.v
ssrtest/view_case.v
ssrtest/wlogletin.v
diff --git a/mathcomp/ssrtest/Make b/mathcomp/ssrtest/Make
index 6033c13..836e12a 100644
--- a/mathcomp/ssrtest/Make
+++ b/mathcomp/ssrtest/Make
@@ -36,6 +36,7 @@ tc.v
testmx.v
typeof.v
unkeyed.v
+unfold_Opaque.v
view_case.v
wlogletin.v
wlog_suff.v
diff --git a/mathcomp/ssrtest/unfold_Opaque.v b/mathcomp/ssrtest/unfold_Opaque.v
new file mode 100644
index 0000000..1ebcbe4
--- /dev/null
+++ b/mathcomp/ssrtest/unfold_Opaque.v
@@ -0,0 +1,8 @@
+Require Import ssreflect.
+
+Definition x := 3.
+Opaque x.
+
+Goal x = 3.
+Fail rewrite /x.
+Admitted. \ No newline at end of file