summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/function-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ASTMerge/function-cpp')
-rw-r--r--clang/test/ASTMerge/function-cpp/Inputs/function-1.cpp8
-rw-r--r--clang/test/ASTMerge/function-cpp/test.cpp10
2 files changed, 0 insertions, 18 deletions
diff --git a/clang/test/ASTMerge/function-cpp/Inputs/function-1.cpp b/clang/test/ASTMerge/function-cpp/Inputs/function-1.cpp
deleted file mode 100644
index ee97a1a8a5d..00000000000
--- a/clang/test/ASTMerge/function-cpp/Inputs/function-1.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-
-template<typename T> constexpr T add(T arg1, T arg2) {
- return arg1 + arg2;
-}
-
-template<> constexpr int add(int arg1, int arg2) {
- return arg1 + arg2 + 2;
-}
diff --git a/clang/test/ASTMerge/function-cpp/test.cpp b/clang/test/ASTMerge/function-cpp/test.cpp
deleted file mode 100644
index 304ce3c634c..00000000000
--- a/clang/test/ASTMerge/function-cpp/test.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: %clang_cc1 -std=c++1z -emit-pch -o %t.1.ast %S/Inputs/function-1.cpp
-// RUN: %clang_cc1 -std=c++1z -ast-merge %t.1.ast -fsyntax-only %s 2>&1 | FileCheck %s
-// XFAIL: *
-
-static_assert(add(1, 2) == 5);
-
-// FIXME: support of templated function overload is still not implemented.
-static_assert(add('\1', '\2') == 3);
-
-// CHECK-NOT: static_assert
OpenPOWER on IntegriCloud