summaryrefslogtreecommitdiffstats
path: root/src/go/doc/comment/testdata/doclink3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/doc/comment/testdata/doclink3.txt')
-rw-r--r--src/go/doc/comment/testdata/doclink3.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/go/doc/comment/testdata/doclink3.txt b/src/go/doc/comment/testdata/doclink3.txt
new file mode 100644
index 0000000..0ccfb3d
--- /dev/null
+++ b/src/go/doc/comment/testdata/doclink3.txt
@@ -0,0 +1,8 @@
+-- input --
+[encoding/json.Marshal] is a doc link.
+
+[rot13.Marshal] is not.
+-- markdown --
+[encoding/json.Marshal](/encoding/json#Marshal) is a doc link.
+
+\[rot13.Marshal] is not.