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++.jason
/
access9.C
1
// { dg-do assemble }
2
// Bug: g++ doesn't allow const objects to be constructed.
3
4
struct B { B(); };
5
6
const B foo()
7
{
8
return B(); // { dg-bogus "" } constructing const
9
}