summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdoc/generatedoutput/testdata/tables/table-after-value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata/tables/table-after-value.cpp')
-rw-r--r--tests/auto/qdoc/generatedoutput/testdata/tables/table-after-value.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/tables/table-after-value.cpp b/tests/auto/qdoc/generatedoutput/testdata/tables/table-after-value.cpp
new file mode 100644
index 000000000..f97118194
--- /dev/null
+++ b/tests/auto/qdoc/generatedoutput/testdata/tables/table-after-value.cpp
@@ -0,0 +1,28 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+#include "tableaftervalue.h"
+
+/*!
+ \class TableAfterValue
+ \inmodule Test
+ \brief Test that the \\table command can follow a \\value command.
+
+ \section1 Background for this test content
+ According to QTBUG-115720, whenever a \\value is followed by \\table, the
+ contents of the two commands end up being merged. This is likely surprising.
+ The bug report suggests a workaround, which is adding \\br between \\value
+ and \\table.
+
+ \sa TableAfterValue::Reproduces
+*/
+
+/*!
+ \enum TableAfterValue::Reproduces
+
+ \value Problem
+
+ \table
+ \row
+ \li This table shouldn't be mangled by the previous \\value command.
+ \endtable
+*/