summaryrefslogtreecommitdiffstats
path: root/testing/082_decl_def.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-12 13:58:16 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-01-12 13:58:16 (GMT)
commit7f40e488e27bcea4bb15045df05479dc5fbd9d6d (patch)
tree9497084f8c326623c0ed92e0f6974f845ad0fa8a /testing/082_decl_def.cpp
parent121ec253945f6563ac6731e3596cd9beaa39cb72 (diff)
downloadDoxygen-7f40e488e27bcea4bb15045df05479dc5fbd9d6d.zip
Doxygen-7f40e488e27bcea4bb15045df05479dc5fbd9d6d.tar.gz
Doxygen-7f40e488e27bcea4bb15045df05479dc5fbd9d6d.tar.bz2
Added declfile, declline, and declcolumn attributes to the location element in the XML output
Diffstat (limited to 'testing/082_decl_def.cpp')
-rw-r--r--testing/082_decl_def.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/082_decl_def.cpp b/testing/082_decl_def.cpp
new file mode 100644
index 0000000..905f7f4
--- /dev/null
+++ b/testing/082_decl_def.cpp
@@ -0,0 +1,18 @@
+// objective: test for declation and definition order independence: def first
+// check: namespace_n.xml
+// config: INPUT = $INPUTDIR/082_decl_def.cpp $INPUTDIR/decl_def.h
+#include "test.h"
+
+/** Namespace */
+namespace N
+{
+
+/** Detailed docs. */
+int var;
+
+/** Detailed docs. */
+void foo(int param)
+{
+}
+
+}