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
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
p13417.C
1
// { dg-do assemble }
2
// { dg-options "-Wno-deprecated" }
3
// prms-id: 13417
4
5
class Foo {
6
public:
7
explicit Foo (int){}
8
};
9
Foo f(10);
10
Foo blat() return f(4){} // { dg-error "" } named return value
11