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
Merged with mainline at revision 128810.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
self1.C
blob
f36500a9fa530d18a9aee31cb47f19107220b172
1
// PR c++/31419
2
3
struct B
4
{
5
template<typename T>
6
operator T const& () const
7
{
8
return 42;
9
}
10
};
11
12
B f()
13
{
14
return B();
15
}