aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ext/memconst.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.ext/memconst.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ext/memconst.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/memconst.C b/gcc/testsuite/g++.old-deja/g++.ext/memconst.C
index a49d3a05898..deb832f7fd1 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!";
+ 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 -
}