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
* call.c (add_candidates): Add first_arg and return_type parms.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.eh
/
ctor1.C
1
// { dg-do assemble }
2
struct A
3
{
4
A(); // { dg-message "" } candidate
5
A(A&); // { dg-message "candidates" } referenced below
6
};
7
8
int
9
main ()
10
{
11
try
12
{
13
throw A(); // { dg-error "no matching" "match" } can't copy
14
// { dg-error "thrown expression" "expr" { target *-*-* } 13 }
15
}
16
catch (...) { }
17
}