diff options
Diffstat (limited to 'test/CXX/temp/temp.param/p4.cpp')
-rw-r--r-- | test/CXX/temp/temp.param/p4.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |