summaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/cxx-templates-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/cxx-templates-common.h')
-rw-r--r--test/Modules/Inputs/cxx-templates-common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Modules/Inputs/cxx-templates-common.h b/test/Modules/Inputs/cxx-templates-common.h
new file mode 100644
index 0000000..40a11e2
--- /dev/null
+++ b/test/Modules/Inputs/cxx-templates-common.h
@@ -0,0 +1,11 @@
+template<typename T> struct SomeTemplate {};
+
+struct DefinedInCommon {
+ void f();
+ struct Inner {};
+ friend void FoundByADL(DefinedInCommon);
+};
+
+template<typename T> struct CommonTemplate {
+ enum E { a = 1, b = 2, c = 3 };
+};
OpenPOWER on IntegriCloud