Commit ec905ac0 by Paolo Carlini Committed by Paolo Carlini

re PR c++/56725 (extra spaces in error message)

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

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

From-SVN: r197345
parent 239eb04c
2013-04-02 Paolo Carlini <paolo.carlini@oracle.com>
* obj-c++.dg/try-catch-13.mm: Update per PR56725.
2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/56660 PR fortran/56660
......
...@@ -22,7 +22,7 @@ extern void some_func (int *); ...@@ -22,7 +22,7 @@ extern void some_func (int *);
typeof(q) k = 66; typeof(q) k = 66;
some_func (&j); some_func (&j);
/* { dg-error "invalid conversion" "" { target *-*-* } 23 } */ /* { dg-error "invalid conversion" "" { target *-*-* } 23 } */
/* { dg-error "initializing argument" "" { target *-*-* } 12 } */ /* { dg-message "initializing argument" "" { target *-*-* } 12 } */
some_func (&k); some_func (&k);
} }
@catch (id exc) { @catch (id exc) {
...@@ -39,7 +39,7 @@ extern void some_func (int *); ...@@ -39,7 +39,7 @@ extern void some_func (int *);
/* { dg-error "invalid conversion" "" { target *-*-* } 38 } */ /* { dg-error "invalid conversion" "" { target *-*-* } 38 } */
/* The following is disabled as it is already checked above and the testsuites seems /* 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 */ 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) { @catch (id exc) {
@throw; @throw;
...@@ -54,7 +54,7 @@ extern void some_func (int *); ...@@ -54,7 +54,7 @@ extern void some_func (int *);
/* { dg-error "invalid conversion" "" { target *-*-* } 53 } */ /* { dg-error "invalid conversion" "" { target *-*-* } 53 } */
/* The following is disabled as it is already checked above and the testsuites seems /* 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 */ 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); some_func (&k);
} }
@catch (id exc) { @catch (id exc) {
......
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