Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access9.C
blob: f9c2797d72b8f50d8ecab6bcf775d10ab380350b [
file
] [
log
] [
blame
]
// Bug: g++ doesn't allow const objects to be constructed.
// Build don't link:
struct
B
{
B
();
};
const
B foo
()
{
return
B
();
// gets bogus error - constructing const
}