diff options
Diffstat (limited to 'llvm/test/Regression/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp')
-rw-r--r-- | llvm/test/Regression/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/llvm/test/Regression/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp b/llvm/test/Regression/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp index e22f30f979c..853fee7dcf3 100644 --- a/llvm/test/Regression/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp +++ b/llvm/test/Regression/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp @@ -1,22 +1,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; -} +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; +} |