commit | 896436706037daf3c24e66bb95cb6ef9750a15b0 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Thu Jun 20 00:04:23 2013 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Thu Jun 20 00:04:23 2013 +0000 |
tree | 80690f20f45ba17b4ce0e745268f6da754b823a6 | |
parent | 63f4050c7e67b7171bbb895130a832b77cf9f647 [diff] |
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
diff --git a/test/SemaCXX/using-decl-templates.cpp b/test/SemaCXX/using-decl-templates.cpp index 2f8abca..2fc6795 100644 --- a/test/SemaCXX/using-decl-templates.cpp +++ b/test/SemaCXX/using-decl-templates.cpp
@@ -80,3 +80,8 @@ void foo(const Container& current); // expected-error {{unknown type name 'Container'}} }; } + +template<typename T> class UsingTypenameNNS { + using typename T::X; + typename X::X x; +};