1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "optional_gc_object.h" 6 7 namespace blink { 8 DisallowedUseOfUniquePtr()9void DisallowedUseOfUniquePtr() { 10 base::Optional<Base> optional_base; 11 (void)optional_base; 12 13 base::Optional<Derived> optional_derived; 14 (void)optional_derived; 15 16 new base::Optional<Base>; 17 } 18 19 } // namespace blink 20