aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs/closed/3228.v
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2014-04-05 13:14:35 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2014-04-05 13:29:08 +0200
commit8c3455e2f5db09e70cd7a40a96856f5be79adaff (patch)
tree11a3374e1a50ba451c40676178a86fd1c619bc52 /test-suite/bugs/closed/3228.v
parentea1e45096184bdb963b3572733654d1a15617bdd (diff)
Fixing bug #3228 (fixing precedence of ltac variables over variables in env).
Diffstat (limited to 'test-suite/bugs/closed/3228.v')
-rw-r--r--test-suite/bugs/closed/3228.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3228.v b/test-suite/bugs/closed/3228.v
new file mode 100644
index 000000000..5d1a0ff88
--- /dev/null
+++ b/test-suite/bugs/closed/3228.v
@@ -0,0 +1,7 @@
+(* Check that variables in the context do not take precedence over
+ ltac variables *)
+
+Ltac bar x := exact x.
+Goal False -> False.
+ intro x.
+ Fail bar doesnotexist.