c.s.tools.ide.analysis.modernize/test/unit/data/ide/analysis/modernize/SingleCppFileCheckTest/hello-cmake-world/src/modernize-use-nullptr.cpp
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/c.s.tools.ide.analysis.modernize/test/unit/data/ide/analysis/modernize/SingleCppFileCheckTest/hello-cmake-world/src/modernize-use-nullptr.cpp Wed Jun 07 20:23:29 2017 +0300
1.3 @@ -0,0 +1,11 @@
1.4 +#include <cstddef>
1.5 +
1.6 +void assignment() {
1.7 + char *a = NULL;
1.8 + char *b = 0;
1.9 + char c = 0;
1.10 +}
1.11 +
1.12 +int *ret_ptr() {
1.13 + return 0;
1.14 +}
1.15 \ No newline at end of file