bolt/deps/llvm-18.1.8/clang/test/Analysis/Checkers/WebKit/uncounted-members-regression-46142.cpp
2025-02-14 19:21:04 +01:00

9 lines
270 B
C++

// regression test for https://bugs.llvm.org/show_bug.cgi?id=46142
// RUN: %clang_analyze_cc1 -analyzer-checker=webkit.NoUncountedMemberChecker -verify %s
// expected-no-diagnostics
class ClassWithoutADefinition;
class Foo {
const ClassWithoutADefinition *foo;
};