summaryrefslogtreecommitdiff
path: root/external/bsd/llvm/dist/clang/test/CodeCompletion/constexpr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'external/bsd/llvm/dist/clang/test/CodeCompletion/constexpr.cpp')
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/constexpr.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/external/bsd/llvm/dist/clang/test/CodeCompletion/constexpr.cpp b/external/bsd/llvm/dist/clang/test/CodeCompletion/constexpr.cpp
deleted file mode 100644
index 12396c0198f..00000000000
--- a/external/bsd/llvm/dist/clang/test/CodeCompletion/constexpr.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++11 -code-completion-at=%s:12:9 %s -o - | FileCheck %s
-
-// PR14381: need constexpr function bodies always, even if code-completing.
-template<int> struct S;
-template<> struct S<1> {
- typedef int type;
-};
-constexpr int f() {
- return 1;
-}
-
-S<f()>::
-// CHECK: COMPLETION: type : type