Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / Checkers / WebKit / uncounted-members-regression-46142.cpp
blob94ddcaca08173ca427ced9784e8b2a700f18b9cc
1 // regression test for https://bugs.llvm.org/show_bug.cgi?id=46142
3 // RUN: %clang_analyze_cc1 -analyzer-checker=webkit.NoUncountedMemberChecker -verify %s
4 // expected-no-diagnostics
6 class ClassWithoutADefinition;
7 class Foo {
8 const ClassWithoutADefinition *foo;
9 };