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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
overload
/
ref-conv2.C
blob
bb0ad39d6b1c292156488a7091511f5f4cf118dc
1
// PR c++/50523
2
3
template <class T>
4
struct A
5
{
6
A(const T&);
7
operator T&() const;
8
operator const T&() const;
9
};
10
11
int main()
12
{
13
A<int> a(1);
14
A<int> a2(a);
15
}