aboutsummaryrefslogtreecommitdiff
path: root/test/command/7494.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/7494.md')
-rw-r--r--test/command/7494.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/7494.md b/test/command/7494.md
index d8a2ff7a5..364bcb7e1 100644
--- a/test/command/7494.md
+++ b/test/command/7494.md
@@ -24,6 +24,18 @@ BAR BAZ BAZ
```
% pandoc -f latex -t plain
+\def\foo{BAR}
+{\foo
+\global\def\foo{BAZ}
+\foo
+}
+\foo
+^D
+BAR BAZ BAZ
+```
+
+```
+% pandoc -f latex -t plain
\newcommand{\aaa}{BBB}
{
\renewcommand{\aaa}{AAA}