aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/success/TacticNotation1.v
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-02-11 13:41:30 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-02-11 13:42:51 +0100
commit377860b90b10bdbedad298e705eb4931b16dba1d (patch)
tree5a284c2af2cdda39d42fe054cf24edaa37dd6566 /test-suite/success/TacticNotation1.v
parent3761b6b17d43470902a221b4df77e5ca13c8021f (diff)
Adding a test-suite for tactic notation naming.
Diffstat (limited to 'test-suite/success/TacticNotation1.v')
-rw-r--r--test-suite/success/TacticNotation1.v20
1 files changed, 20 insertions, 0 deletions
diff --git a/test-suite/success/TacticNotation1.v b/test-suite/success/TacticNotation1.v
new file mode 100644
index 000000000..289f2816e
--- /dev/null
+++ b/test-suite/success/TacticNotation1.v
@@ -0,0 +1,20 @@
+Module Type S.
+End S.
+
+Module F (E : S).
+
+ Tactic Notation "foo" := idtac.
+
+ Ltac bar := foo.
+
+End F.
+
+Module G (E : S).
+ Module M := F E.
+
+ Lemma Foo : True.
+ Proof.
+ M.bar.
+ Abort.
+
+End G.