http://llvm.org/bugs/show_bug.cgi?id=16383
Bug ID: 16383
Summary: Accepts-invalid with template template parameter
shadowing template parameter
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Testcase:
template<typename T> struct X {
T x;
template< template <typename X> class T> class Y {
T<void> x;
};
};
X<int>::Y<X> x;
clang accepts this, gcc rejects it. Pretty sure this isn't well-formed per
[temp.local].
--
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