diff options
author | Mark Mitchell <mark@codesourcery.com> | 2002-12-10 14:45:48 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2002-12-10 14:45:48 +0000 |
commit | b179236322b3763713b837cde38430963a8e9e7b (patch) | |
tree | ff8186f49434d9701ed46b11892736a82c27c747 | |
parent | 9043a7fc8d229ba80a93242d8c2a8ec568fa1d64 (diff) |
* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@59997 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.ext/memconst.C | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a1b766c0921..4b064472d42 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/g++.old-deja/g++.ext/memconst.C b/gcc/testsuite/g++.old-deja/g++.ext/memconst.C index a47a45ca8f6..568f267d52e 100644 --- a/gcc/testsuite/g++.old-deja/g++.ext/memconst.C +++ b/gcc/testsuite/g++.old-deja/g++.ext/memconst.C @@ -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 - } |