OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
eh
/
ctor3.C
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
}