diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-02-11 13:41:30 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-02-11 13:42:51 +0100 |
commit | 377860b90b10bdbedad298e705eb4931b16dba1d (patch) | |
tree | 5a284c2af2cdda39d42fe054cf24edaa37dd6566 /test-suite/success/TacticNotation1.v | |
parent | 3761b6b17d43470902a221b4df77e5ca13c8021f (diff) |
Adding a test-suite for tactic notation naming.
Diffstat (limited to 'test-suite/success/TacticNotation1.v')
-rw-r--r-- | test-suite/success/TacticNotation1.v | 20 |
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. |