summaryrefslogtreecommitdiff
path: root/makeinfo/tests/defxcond.txi
diff options
context:
space:
mode:
Diffstat (limited to 'makeinfo/tests/defxcond.txi')
-rw-r--r--makeinfo/tests/defxcond.txi18
1 files changed, 18 insertions, 0 deletions
diff --git a/makeinfo/tests/defxcond.txi b/makeinfo/tests/defxcond.txi
new file mode 100644
index 0000000..a7af9e2
--- /dev/null
+++ b/makeinfo/tests/defxcond.txi
@@ -0,0 +1,18 @@
+\input texinfo
+@setfilename defxcond.info
+
+@c set this from the command line.
+@c set bar
+
+@c deffnx inside conditional.
+@deffn foo
+
+@ifset bar
+@deffnx bar
+@end ifset
+
+Documentation.
+
+@end deffn
+
+@bye