Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
65019acfc46ffb191fac4e781ac0c4b8d0c8434e
/
.
/
test
/
Analysis
/
derived-to-base.cpp
blob: f65b9db17b6573548e8cb74665edbbda45ed99a7 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store region %s
class
A
{
protected
:
int
x
;
};
class
B
:
public
A
{
public
:
void
f
();
};
void
B
::
f
()
{
x
=
3
;
}