llvm-for-llvmta/tools/clang/test/Analysis/Checkers/WebKit/uncounted-members-regressio...

10 lines
270 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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;
};