summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx0x-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/cxx0x-decl.cpp')
-rw-r--r--clang/test/Parser/cxx0x-decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Parser/cxx0x-decl.cpp b/clang/test/Parser/cxx0x-decl.cpp
index 9bc60bd35a1..2cd68252133 100644
--- a/clang/test/Parser/cxx0x-decl.cpp
+++ b/clang/test/Parser/cxx0x-decl.cpp
@@ -83,13 +83,13 @@ namespace PR5066 {
namespace FinalOverride {
struct Base {
- virtual void *f(); // expected-note {{overridden virtual function is here}}
+ virtual void *f();
virtual void *g();
virtual void *h();
virtual void *i();
};
struct Derived : Base {
- virtual auto f() -> void *final; // expected-warning {{'f' overrides a member function but is not marked 'override'}}
+ virtual auto f() -> void *final;
virtual auto g() -> void *override;
virtual auto h() -> void *final override;
virtual auto i() -> void *override final;
OpenPOWER on IntegriCloud