memconst.C: Use old-deja, not dg, error markers.

* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
	markers.

From-SVN: r59998
This commit is contained in:
Mark Mitchell 2002-12-10 14:46:32 +00:00 committed by Mark Mitchell
parent a63e8c56ce
commit 282655490d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-12-10 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.
2002-12-10 Jakub Jelinek <jakub@redhat.com>
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.

View File

@ -12,7 +12,7 @@ public:
class foo {
private:
static const unsigned char * const dummy_key = (unsigned char*)"ThisIs a dummy!"; // { dg-error "in-class" }
static const unsigned char * const dummy_key = (unsigned char*)"ThisIs a dummy!"; // ERROR -
public:
void bar ();
@ -21,5 +21,5 @@ public:
void
foo::bar ()
{
qwerty QWERTY ((unsigned short*)dummy_key);
qwerty QWERTY ((unsigned short*)dummy_key); // ERROR -
}