From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../tools/clang/plugins/tests/inline_ctor.cpp | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 media/webrtc/trunk/tools/clang/plugins/tests/inline_ctor.cpp (limited to 'media/webrtc/trunk/tools/clang/plugins/tests/inline_ctor.cpp') diff --git a/media/webrtc/trunk/tools/clang/plugins/tests/inline_ctor.cpp b/media/webrtc/trunk/tools/clang/plugins/tests/inline_ctor.cpp new file mode 100644 index 000000000..6a751fb40 --- /dev/null +++ b/media/webrtc/trunk/tools/clang/plugins/tests/inline_ctor.cpp @@ -0,0 +1,25 @@ +// Copyright (c) 2011 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. + +#include "inline_ctor.h" + +#include +#include + +// We don't warn on classes that are in CPP files. +class InlineInCPPOK { + public: + InlineInCPPOK() {} + ~InlineInCPPOK() {} + + private: + std::vector one_; + std::vector two_; +}; + +int main() { + InlineInCPPOK one; + InlineCtorsArentOKInHeader two; + return 0; +} -- cgit v1.2.3