gecko-dev/tools/clang-tidy/test/clang-analyzer-core.NullDereference.cpp
2018-10-02 14:10:32 +00:00

9 lines
No EOL
76 B
C++

class C {
public:
int x;
};
void test() {
C *pc = 0;
int k = pc->x;
}