Commit 4139f34d by Zack Weinberg Committed by Zack Weinberg

lvalue1.C: No longer expected to fail.

	* g++.dg/ext/lvalue1.C: No longer expected to fail.
	* g++.dg/warn/Wunused-2.C: Likewise.

From-SVN: r75761
parent 7b2e3e60
2004-01-12 Zack Weinberg <zack@codesourcery.com>
* g++.dg/ext/lvalue1.C: No longer expected to fail.
* g++.dg/warn/Wunused-2.C: Likewise.
2004-01-12 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/13289
......
......@@ -4,7 +4,7 @@ int main ()
{
char c;
static_cast<int>(c) = 2; // { dg-error "lvalue" "not an lvalue" { xfail *-*-* } }
static_cast<int>(c) = 2; // { dg-error "lvalue" "not an lvalue" }
return c != 2;
}
......@@ -2,5 +2,5 @@
// { dg-options "-Wunused -O3" }
static const int i = 0;
static void f() { } /* { dg-warning "defined but not used" "" { xfail *-*-* } } */
static void f() { } /* { dg-warning "defined but not used" "" } */
static inline void g() { }
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