summaryrefslogtreecommitdiffstats
path: root/clang/test/Import/template-specialization/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Import/template-specialization/test.cpp')
-rw-r--r--clang/test/Import/template-specialization/test.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Import/template-specialization/test.cpp b/clang/test/Import/template-specialization/test.cpp
new file mode 100644
index 00000000000..43996c53a77
--- /dev/null
+++ b/clang/test/Import/template-specialization/test.cpp
@@ -0,0 +1,7 @@
+// RUN: clang-import-test -import %S/Inputs/T.cpp -expression %s
+// XFAIL: *
+void expr() {
+ A<int>::B b1;
+ A<bool>::B b2;
+ b1.f + b2.g;
+}
OpenPOWER on IntegriCloud