ladybird/Tests/ClangPlugins/LibJSGCTests/non_cell_class.cpp
2024-05-13 16:50:54 -06:00

14 lines
284 B
C++

/*
* Copyright (c) 2024, Matthew Olsson <mattco@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
// RUN: %clang++ -cc1 -verify %plugin_opts% %s 2>&1
// expected-no-diagnostics
#include <LibJS/Runtime/Object.h>
class NonCell {
JS::GCPtr<JS::Object> m_object;
};