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
PR c++/34180
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
synth2.C
1
// PR c++/34180
2
3
struct G {
4
G(); // { dg-message "" "candidate" }
5
G(G&); // { dg-message "" "candidate" }
6
};
7
8
class A
9
{ // { dg-error "no match" }
10
const G g;
11
};
12
13
int main()
14
{
15
A a;
16
A b = a; // { dg-message "required here" }
17
}