summaryrefslogtreecommitdiffstats
path: root/clang/test/InterfaceStubs/class-template-partial-specialization.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/InterfaceStubs/class-template-partial-specialization.cpp')
-rw-r--r--clang/test/InterfaceStubs/class-template-partial-specialization.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/InterfaceStubs/class-template-partial-specialization.cpp b/clang/test/InterfaceStubs/class-template-partial-specialization.cpp
new file mode 100644
index 00000000000..ae6e7bf2458
--- /dev/null
+++ b/clang/test/InterfaceStubs/class-template-partial-specialization.cpp
@@ -0,0 +1,11 @@
+// RUN: %clang -c -o - -emit-interface-stubs %s | FileCheck %s
+
+// CHECK: --- !experimental-ifs-v1
+// CHECK-NEXT: IfsVersion: 1.0
+// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu
+// CHECK-NEXT: ObjectFileFormat: ELF
+// CHECK-NEXT: Symbols:
+// CHECK-NEXT: ...
+
+template<typename> struct S7 { };
+template<typename T> struct S7<T&> { }; \ No newline at end of file
OpenPOWER on IntegriCloud