| //===----------------------------------------------------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args); |
| S () {}; // ctor is private |
| std::shared_ptr<S> p = std::make_shared<S>(); |