HomeSort by relevance Sort by last modified time
    Searched defs:someGlobal (Results 1 - 2 of 2) sorted by null

  /external/clang/test/Analysis/
free.c 71 static int someGlobal[2];
73 free(someGlobal); // expected-warning {{Argument to free() is the address of the global variable 'someGlobal', which is not memory allocated by malloc()}}
new.cpp 10 int someGlobal;
18 if (someGlobal != 0)
26 // Check that the new/delete did not invalidate someGlobal;
27 clang_analyzer_eval(someGlobal == 0); // expected-warning{{TRUE}}

Completed in 617 milliseconds