repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
eh
/
ctor3.C
blob
378c07edf17f4b55e168a71375fb66a0c6402aa9
1
// PR C++/18984
2
// We just to ICE as we did not add a
3
// deference to invisible by reference
4
// variable
5
6
// { dg-do compile }
7
8
9
struct Str
10
{
11
Str(const char *chars);
12
Str& operator=(const char *chars);
13
virtual operator char*() const;
14
};
15
Str _localName(Str fullname)
16
{
17
return (char*)fullname;
18
}