aboutsummaryrefslogtreecommitdiff
path: root/test/command/5635.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/5635.md')
-rw-r--r--test/command/5635.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/command/5635.md b/test/command/5635.md
new file mode 100644
index 000000000..72440616f
--- /dev/null
+++ b/test/command/5635.md
@@ -0,0 +1,23 @@
+```
+% pandoc -f latex -t plain
+\providecommand{\test}{foo}
+\providecommand{\test}{bar}
+
+The value is: \test
+^D
+The value is: foo
+```
+
+```
+% pandoc -f latex -t plain
+\provideenvironment{test}{startfoo}{stopfoo}
+\provideenvironment{test}{startbar}{stopbar}
+
+\begin{test}
+Hi
+\end{test}
+^D
+startfoo Hi stopfoo
+```
+
+