aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp
blob: e22f30f979c9b690c414472f5310f420c11e529c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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;  
}