summaryrefslogtreecommitdiffstats
path: root/testing/083_decl_def.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/083_decl_def.cpp')
-rw-r--r--testing/083_decl_def.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/083_decl_def.cpp b/testing/083_decl_def.cpp
new file mode 100644
index 0000000..1241be6
--- /dev/null
+++ b/testing/083_decl_def.cpp
@@ -0,0 +1,18 @@
+// objective: test for declation and definition order independence: def first
+// check: namespace_n.xml
+// config: INPUT = $INPUTDIR/083_decl_def.cpp $INPUTDIR/decl_def.h
+#include "test.h"
+
+/** Namespace */
+namespace N
+{
+
+/** Detailed docs. */
+int var;
+
+/** Detailed docs. */
+void foo(int param)
+{
+}
+
+}