diff mbox

[C++] PR 56725

Message ID 515AB0FB.1050203@oracle.com
State New
Headers show

Commit Message

Paolo Carlini April 2, 2013, 10:20 a.m. UTC
On 04/02/2013 12:03 PM, Jakub Jelinek wrote:
> On Thu, Mar 28, 2013 at 03:55:38PM +0100, Paolo Carlini wrote:
>> .. oops, the patch I attached has a typo. This is the right one.
> This regressed
> FAIL: obj-c++.dg/try-catch-13.mm -fgnu-runtime  (test for errors, line 12)
> Can you please adjust that testcase too?
Sorry about that. Done with the below.

Paolo.

///////////////////////
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* obj-c++.dg/try-catch-13.mm: Update per PR56725.
diff mbox

Patch

Index: obj-c++.dg/try-catch-13.mm
===================================================================
--- obj-c++.dg/try-catch-13.mm	(revision 197344)
+++ obj-c++.dg/try-catch-13.mm	(working copy)
@@ -22,7 +22,7 @@  extern void some_func (int *);
       typeof(q) k = 66;
       some_func (&j);
 /* { dg-error "invalid conversion" "" { target *-*-* } 23 } */ 
-/* { dg-error "initializing argument" "" { target *-*-* } 12 } */
+/* { dg-message "initializing argument" "" { target *-*-* } 12 } */
       some_func (&k);
     }
     @catch (id exc) {
@@ -39,7 +39,7 @@  extern void some_func (int *);
 /* { dg-error "invalid conversion" "" { target *-*-* } 38 } */
 /* The following is disabled as it is already checked above and the testsuites seems 
    to count multiple different identical errors on the same line only once */
-/*  dg-error "initializing argument" "" { target *-*-* } 12  */
+/*  dg-message "initializing argument" "" { target *-*-* } 12  */
     }
     @catch (id exc) {
       @throw;
@@ -54,7 +54,7 @@  extern void some_func (int *);
 /* { dg-error "invalid conversion" "" { target *-*-* } 53 } */
 /* The following is disabled as it is already checked above and the testsuites seems 
    to count multiple different identical errors on the same line only once */
-/*  dg-error "initializing argument" "" { target *-*-* } 12  */
+/*  dg-message "initializing argument" "" { target *-*-* } 12  */
       some_func (&k);
     }
     @catch (id exc) {