10 lines · cpp
1// regression test for https://bugs.llvm.org/show_bug.cgi?id=461422 3// RUN: %clang_analyze_cc1 -analyzer-checker=webkit.NoUncountedMemberChecker -verify %s4// expected-no-diagnostics5 6class ClassWithoutADefinition;7class Foo {8 const ClassWithoutADefinition *foo;9};10