Skip to content

Commit 7c25ba4

Browse files
author
jason
committed
* g++.old-deja/g++.bugs/900520_03.C: Limit error to c++14_down.
* g++.old-deja/g++.law/array2.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250182 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent 39a43f9 commit 7c25ba4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gcc/testsuite/g++.old-deja/g++.bugs/900520_03.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
typedef int u_array[];
3535
typedef u_array &u_array_ref;
3636

37-
void take_u_array_ref (u_array_ref arg) { } // { dg-error "" } reference to array of unknown bound in parmtype
37+
void take_u_array_ref (u_array_ref arg) { } // { dg-error "" "" { target c++14_down } } reference to array of unknown bound in parmtype
3838

3939
extern u_array u_array_gbl_obj;
4040
u_array_ref u_array_ref_gbl_obj0 = u_array_gbl_obj; // OK

gcc/testsuite/g++.old-deja/g++.law/array2.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
// Subject: prototype bug ?
77
// Date: Thu, 5 Nov 92 15:37:34 PST
88

9-
extern unsigned char * (*trt_def(int))[][2];
10-
extern unsigned char * (trt_rplst(unsigned char *(*)[][2])); // { dg-error "" }
9+
extern unsigned char * (*trt_def(int))[][2];
10+
extern unsigned char * (trt_rplst(unsigned char *(*)[][2])); // { dg-error "" "" { target c++14_down } }

0 commit comments

Comments
 (0)