[LLVMbugs] [Bug 8277] New: Clang (from XCode DP3) is unable to parse a specialised member function template inside a specialised template class
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 1 21:45:28 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8277
Summary: Clang (from XCode DP3) is unable to parse a
specialised member function template inside a
specialised template class
Product: clang
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: abdulla.kamar at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
The following code correctly compiles under GCC, but Clang complains that
there's an extraneous template specialisation:
template< typename S >
struct C
{
template< int >
void F( void )
{
}
};
template< typename S >
struct D
{
typedef C< int > A;
};
typedef D< int >::A A;
template<>
template<>
void A::F< 0 >( void )
{
}
int main( void )
{
return 0;
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list