diff options
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/SemaTemplate/explicit-specialization-member.cpp | 11 |
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}} -} |

