summaryrefslogtreecommitdiffstats
path: root/testing/082_decl_def.cpp
diff options
context:
space:
mode:
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)
+{
+}
+
+}