repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/49508
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth6.C
blob
01485282e8918d299c0f23618e33728b03756edb
1
// { dg-do assemble }
2
// Bug: g++ tries to generate an op= for DbmItem and fails.
3
4
class RefCount{
5
public:
6
RefCount();
7
8
private:
9
RefCount& operator=(const RefCount);
10
};
11
12
class DbmItem: public RefCount{
13
public:
14
DbmItem(): RefCount() {}
15
};