add xfail
authorJason Merrill <jason@gcc.gnu.org>
Mon, 10 Mar 2003 21:57:02 +0000 (16:57 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 10 Mar 2003 21:57:02 +0000 (16:57 -0500)
From-SVN: r64131

gcc/testsuite/g++.dg/warn/Wunused-2.C

index 9cdd11e84a6fc166f54c7149924b6e072c65f08e..dcad9015e11b4fd1751e596baa09fc1cdf3b38df 100644 (file)
@@ -2,5 +2,5 @@
 // { dg-options "-Wunused -O3" }
 
 static const int i = 0;
-static void f() { }            /* { dg-warning "defined but not used" } */
+static void f() { }            /* { dg-warning "defined but not used" "" { xfail *-*-* } } */
 static inline void g() { }