llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-members-regressio...

10 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;
};