repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
2005-02-19-UnnamedVirtualThunkArgument.cpp
blob
853fee7dcf30a6330f6ef7ef080ecb42ccfea3f4
1
// RUN: %llvmgxx -S %s -o /dev/null
2
3
struct
Foo
{
4
Foo
();
5
virtual
~
Foo
();
6
};
7
8
struct
Bar
{
9
Bar
();
10
virtual
~
Bar
();
11
virtual
bool
test
(
bool
)
const
;
12
};
13
14
struct
Baz
:
public
Foo
,
public
Bar
{
15
Baz
();
16
virtual
~
Baz
();
17
virtual
bool
test
(
bool
)
const
;
18
};
19
20
bool
Baz
::
test
(
bool
)
const
{
21
return true
;
22
}