1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp
2007-01-17 07:59:14 +00:00

23 lines
328 B
C++

// RUN: %llvmgxx -S %s -o /dev/null
struct Foo {
Foo();
virtual ~Foo();
};
struct Bar {
Bar();
virtual ~Bar();
virtual bool test(bool) const;
};
struct Baz : public Foo, public Bar {
Baz();
virtual ~Baz();
virtual bool test(bool) const;
};
bool Baz::test(bool) const {
return true;
}