зеркало из https://github.com/microsoft/clang-1.git
Add test case from PR5812, which works now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97535 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
8f8210c477
Коммит
bbbd54e979
|
@ -121,3 +121,15 @@ namespace PR6413 {
|
|||
, public virtual Base_B
|
||||
{ };
|
||||
}
|
||||
|
||||
namespace PR5812 {
|
||||
template <class T> struct Base {
|
||||
Base* p;
|
||||
};
|
||||
|
||||
template <class T> struct Derived: public Base<T> {
|
||||
typename Derived::Base* p; // meaning Derived::Base<T>
|
||||
};
|
||||
|
||||
Derived<int> di;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче