Commit 4fe1edca by Mark Mitchell Committed by Mark Mitchell

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: r59997
parent 801bb04d
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> 2002-12-10 Jakub Jelinek <jakub@redhat.com>
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line. * g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
......
...@@ -12,7 +12,7 @@ public: ...@@ -12,7 +12,7 @@ public:
class foo { class foo {
private: 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: public:
void bar (); void bar ();
...@@ -21,5 +21,5 @@ public: ...@@ -21,5 +21,5 @@ public:
void void
foo::bar () foo::bar ()
{ {
qwerty QWERTY ((unsigned short*)dummy_key); qwerty QWERTY ((unsigned short*)dummy_key); // ERROR -
} }
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