blob: a94eedd2e175c21a06375d021ecb951b386817d0 [file] [log] [blame]
// Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
struct Base {
virtual void foo();
};
#line 1 "/src/chromium/src/myheader.h"
struct Derived : public Base {
virtual void foo(); // Should warn about missing 'override'.
};
#line 123 "/src/chrome-breakpad/src/myheader.h"
struct Derived2 : public Base {
virtual void foo(); // Should warn about missing 'override'.
};
#line 123 "/src/chrome-breakpad/src/breakpad/myheader.h"
struct Derived3 : public Base {
virtual void foo(); // Should not warn; file is in a blacklisted dir.
};