Catch excess warning in gcc.dg/pragma-diag-5.c
We xfail at emitting the correct location, but we still need to catch the warning. 2015-09-21 Manuel López-Ibáñez <manu@gcc.gnu.org> * gcc.dg/pragma-diag-5.c: Catch excess warning. From-SVN: r227967
This commit is contained in:
parent
561cfdec25
commit
70b95cee51
|
@ -1,3 +1,7 @@
|
|||
2015-09-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||
|
||||
* gcc.dg/pragma-diag-5.c: Fix excess warning.
|
||||
|
||||
2015-09-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||
|
||||
PR middle-end/60832
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
#pragma GCC diagnostic /* { dg-warning "24:missing" "missing" { xfail *-*-* } } */
|
||||
#pragma GCC diagnostic /* { dg-warning "missing" "missing" } */
|
||||
/* { dg-warning "24:missing" "missing" { xfail *-*-* } 2 } */
|
||||
|
||||
#pragma GCC diagnostic warn /* { dg-warning "24:expected" } */
|
||||
|
||||
|
|
Loading…
Reference in New Issue