mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
16 lines
348 B
C++
16 lines
348 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 TestClass : public JS::Object {
|
|
JS_OBJECT(TestClass, JS::Object);
|
|
|
|
JS::RawGCPtr<JS::Object> m_object;
|
|
};
|