From 35911ce76bed5fa64dcc368cbd81f6ec7b71aa75 Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Mon, 8 Feb 2010 19:58:40 +0000 Subject: [PATCH] Add a test case for r95555. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95562 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CXX/temp/temp.names/p4.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/CXX/temp/temp.names/p4.cpp 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); +} -- 2.40.0