summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/explicit-specialization-member.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-02-15 03:29:24 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-02-15 03:29:24 +0000
commit650e5b28d2472eb93c210b6a6275afa95ce98bdb (patch)
tree24613fd15f7e66fb016da44f4ad65a6c43925933 /clang/test/SemaTemplate/explicit-specialization-member.cpp
parent0609acc10d78428fcb9fcbf02f4310a7e550178c (diff)
downloadbcm5719-llvm-650e5b28d2472eb93c210b6a6275afa95ce98bdb.tar.gz
bcm5719-llvm-650e5b28d2472eb93c210b6a6275afa95ce98bdb.zip
Speculatively revert r295118 to see if it's what's causing the modules selfhost buildbots to fail.
llvm-svn: 295146
Diffstat (limited to 'clang/test/SemaTemplate/explicit-specialization-member.cpp')
-rw-r--r--clang/test/SemaTemplate/explicit-specialization-member.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/test/SemaTemplate/explicit-specialization-member.cpp b/clang/test/SemaTemplate/explicit-specialization-member.cpp
index 4300ceb17ec..f302836c7e4 100644
--- a/clang/test/SemaTemplate/explicit-specialization-member.cpp
+++ b/clang/test/SemaTemplate/explicit-specialization-member.cpp
@@ -57,14 +57,3 @@ template<typename T> struct Helper {
template<typename T> void Helper<T>::func<2>() {} // expected-error {{cannot specialize a member}} \
// expected-error {{no function template matches}}
}
-
-namespace b35070233 {
- template <typename T> struct Cls {
- static void f() {}
- };
-
- void g(Cls<int>);
-
- template<> struct Cls<int>; // expected-note {{forward declaration}}
- template<> void Cls<int>::f(); // expected-error {{incomplete type}}
-}
OpenPOWER on IntegriCloud