view clang/test/CodeGenCXX/2005-02-19-UnnamedVirtualThunkArgument.cpp @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
line wrap: on
line source

// RUN: %clang_cc1 -emit-llvm %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;
}