| 1 |
// { dg-do assemble } |
| 2 |
// { dg-options "" } |
| 3 |
// From: [email protected] (Ove Ewerlid) |
| 4 |
// Subject: ss-940630:cc1plus: internal error |
| 5 |
// Date: Sat, 2 Jul 1994 05:07:20 +0200 |
| 6 |
|
| 7 |
class qwerty { |
| 8 |
public: |
| 9 |
qwerty (const unsigned short userkey[8]); |
| 10 |
~qwerty (); |
| 11 |
}; |
| 12 |
|
| 13 |
class foo { |
| 14 |
private: |
| 15 |
static const unsigned char * const dummy_key = (unsigned char*)"ThisIs a dummy!"; // { dg-error "" } |
| 16 |
|
| 17 |
public: |
| 18 |
void bar (); |
| 19 |
}; |
| 20 |
|
| 21 |
void |
| 22 |
foo::bar () |
| 23 |
{ |
| 24 |
qwerty QWERTY ((unsigned short*)dummy_key); |
| 25 |
} |