URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ext/] [memconst.C] - Rev 305
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "" }
// From: Ove.Ewerlid@syscon.uu.se (Ove Ewerlid)
// Subject: ss-940630:cc1plus: internal error
// Date: Sat, 2 Jul 1994 05:07:20 +0200
class qwerty {
public:
qwerty (const unsigned short userkey[8]);
~qwerty ();
};
class foo {
private:
static const unsigned char * const dummy_key = (unsigned char*)"ThisIs a dummy!"; // { dg-error "" }
public:
void bar ();
};
void
foo::bar ()
{
qwerty QWERTY ((unsigned short*)dummy_key); // { dg-error "" }
}
Go to most recent revision | Compare with Previous | Blame | View Log