ladybird/Tests/ClangPlugins/LibJSGCTests/non_cell_class.cpp
2025-05-12 16:00:55 -04:00

14 lines
294 B
C++

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