c.s.tools.ide.analysis.modernize/test/unit/data/goldenfiles/ide/analysis/modernize/SingleCppFileCheckTest/src/modernize-use-nullptr.cpp
branchrelease82
changeset 18423 b9d9af239a0c
parent 18403 67d78b11d2e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/c.s.tools.ide.analysis.modernize/test/unit/data/goldenfiles/ide/analysis/modernize/SingleCppFileCheckTest/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 = nullptr;
     1.8 +  char *b = nullptr;
     1.9 +  char c = 0;
    1.10 +}
    1.11 +
    1.12 +int *ret_ptr() {
    1.13 +  return nullptr;
    1.14 +}
    1.15 \ No newline at end of file