From 36c49e3f258dced101949edabd72e9bc3f1dedc4 Mon Sep 17 00:00:00 2001 From: dim <dim@FreeBSD.org> Date: Fri, 17 Sep 2010 15:54:40 +0000 Subject: Vendor import of clang r114020 (from the release_28 branch): http://llvm.org/svn/llvm-project/cfe/branches/release_28@114020 Approved by: rpaulo (mentor) --- test/CXX/temp/temp.param/p4.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/CXX/temp/temp.param/p4.cpp') diff --git a/test/CXX/temp/temp.param/p4.cpp b/test/CXX/temp/temp.param/p4.cpp index 5ec402a..809fb20 100644 --- a/test/CXX/temp/temp.param/p4.cpp +++ b/test/CXX/temp/temp.param/p4.cpp @@ -17,4 +17,5 @@ template<typename T, T x> struct A10; template<float f> struct A11; // expected-error{{a non-type template parameter cannot have type 'float'}} -template<void *Ptr> struct A12; // expected-error{{a non-type template parameter cannot have type 'void *'}} +template<void *Ptr> struct A12; +template<int (*IncompleteArrayPtr)[]> struct A13; -- cgit v1.1