repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr98032.C
blob
d7eef27666813110824afd762a15326f4e9c95e9
1
// { dg-do compile }
2
3
namespace osl {
4
class Thread {
5
public:
6
virtual ~Thread();
7
virtual void join();
8
};
9
} // namespace osl
10
class SimpleReferenceObject {
11
protected:
12
virtual ~SimpleReferenceObject();
13
};
14
class Thread : SimpleReferenceObject, osl::Thread {
15
public:
16
using osl::Thread::join;
17
};
18
class RenderThread : Thread {
19
RenderThread() { join(); }
20
};