Commit 62c1a252 by Jason Merrill

900520_03.C: Limit error to c++14_down.

	* g++.old-deja/g++.bugs/900520_03.C: Limit error to c++14_down.
	* g++.old-deja/g++.law/array2.C: Likewise.

From-SVN: r250182
parent d2884eca
......@@ -34,7 +34,7 @@
typedef int u_array[];
typedef u_array &u_array_ref;
void take_u_array_ref (u_array_ref arg) { } // { dg-error "" } reference to array of unknown bound in parmtype
void take_u_array_ref (u_array_ref arg) { } // { dg-error "" "" { target c++14_down } } reference to array of unknown bound in parmtype
extern u_array u_array_gbl_obj;
u_array_ref u_array_ref_gbl_obj0 = u_array_gbl_obj; // OK
......
......@@ -6,5 +6,5 @@
// Subject: prototype bug ?
// Date: Thu, 5 Nov 92 15:37:34 PST
extern unsigned char * (*trt_def(int))[][2];
extern unsigned char * (trt_rplst(unsigned char *(*)[][2])); // { dg-error "" }
extern unsigned char * (*trt_def(int))[][2];
extern unsigned char * (trt_rplst(unsigned char *(*)[][2])); // { dg-error "" "" { target c++14_down } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment