Skip to content
Snippets Groups Projects
Commit 89643670 authored by Eli Friedman's avatar Eli Friedman
Browse files

Add a testcase which uses an UnresolvedUsingTypenameDecl as the base of an NNS.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184386 91177308-0d34-0410-b5e6-96231b3b80d8
parent 63f4050c
No related branches found
No related tags found
No related merge requests found
......@@ -80,3 +80,8 @@ namespace PR10883 {
void foo(const Container& current); // expected-error {{unknown type name 'Container'}}
};
}
template<typename T> class UsingTypenameNNS {
using typename T::X;
typename X::X x;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment