repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
cast3.C
blob
141efd5b00a3932c882f457e1ec314b3dc5fb42c
1
// PRMS Id: 7088
2
// Build don't link:
3
4
struct string
5
{
6
int length () const;
7
string (string &);
8
string (char * = 0);
9
int operator [] (int);
10
~string ();
11
};
12
13
void _cook(const string raw, bool for_postscript)
14
{
15
unsigned char c = (unsigned) ((string &)raw)[1];
16
}