summaryrefslogtreecommitdiff
path: root/tests/headers
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers')
-rw-r--r--tests/headers/namespace.hpp9
-rw-r--r--tests/headers/namespace/nsbegin.h1
-rw-r--r--tests/headers/namespace/nsend.h1
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/namespace.hpp b/tests/headers/namespace.hpp
index 408207f2..a8e6f8ec 100644
--- a/tests/headers/namespace.hpp
+++ b/tests/headers/namespace.hpp
@@ -40,3 +40,12 @@ namespace w {
C<float> barr(); // <- This is the problematic one
}
+
+#define NAMESPACE foobar
+namespace NAMESPACE {
+ void foo();
+}
+
+#include "namespace/nsbegin.h"
+void bar();
+#include "namespace/nsend.h"
diff --git a/tests/headers/namespace/nsbegin.h b/tests/headers/namespace/nsbegin.h
new file mode 100644
index 00000000..47a51c93
--- /dev/null
+++ b/tests/headers/namespace/nsbegin.h
@@ -0,0 +1 @@
+namespace faraway {
diff --git a/tests/headers/namespace/nsend.h b/tests/headers/namespace/nsend.h
new file mode 100644
index 00000000..5c34318c
--- /dev/null
+++ b/tests/headers/namespace/nsend.h
@@ -0,0 +1 @@
+}