http://llvm.org/bugs/show_bug.cgi?id=15878
Bug ID: 15878
Summary: partial specialization of template class after using
namespace causes non-template class error
Product: clang
Version: 3.1
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Code:
namespace A {
namespace B {
template <typename T> class X;
}
using namespace B;
template<typename T> class X;
template<typename T> class X<T*> { };
};
clang 3.1 output:
>>> clang test.cpp
test.cpp:7:29: error: explicit specialization of non-template class 'X'
template<typename T> class X<T*> { };
^~~~~
1 error generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs