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
* c-common.c (catenate_strings): New.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
cast3.C
blob
fa347428882b027cfe43806ba88cadc06fca837e
1
// { dg-do assemble }
2
// PRMS Id: 7088
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
}