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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
operator2.C
blob
892ed3f1df37f0ac358d3a410d73b6e3f1f6ed86
1
// { dg-do assemble }
2
// PRMS Id: 6018
3
4
class string {
5
char *p;
6
public:
7
string(const char* s) ;// { p == s; }
8
operator const char*() ;// { return s; }
9
};
10
11
void f4(string& s)
12
{
13
*s; // implies "s.operator const char*()"
14
}