From: Sebastian Redl Date: Mon, 8 Feb 2010 19:58:40 +0000 (+0000) Subject: Add a test case for r95555. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35911ce76bed5fa64dcc368cbd81f6ec7b71aa75;p=clang Add a test case for r95555. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95562 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/temp/temp.names/p4.cpp b/test/CXX/temp/temp.names/p4.cpp new file mode 100644 index 0000000000..103a1bd537 --- /dev/null +++ b/test/CXX/temp/temp.names/p4.cpp @@ -0,0 +1,15 @@ +// RUN: %clang_cc1 -fsyntax-only -verify %s + +struct meta { + template + struct apply { + typedef U* type; + }; +}; + +template +void f(typename T::template apply::type); + +void test_f(int *ip) { + f(ip); +}