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
+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
/* { 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" } */