================ @@ -0,0 +1,35 @@ +//===----------------------------------------------------------------------===// +// 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 +//===----------------------------------------------------------------------===// + +// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20 + +#include <memory> + +struct NonTrivial { + int x; + ~NonTrivial() {} +}; + +struct Incomplete; // expected-note {{forward declaration of 'Incomplete'}} + +void test_invalid_types(void* p) { ---------------- frederick-vs-ja wrote:
Perhaps we should also test invalid types for `start_lifetime_as_array`. https://github.com/llvm/llvm-project/pull/196286 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
