hanchenye-llvm-project/clang/test/Analysis/svalbuilder-logic.c

9 lines
212 B
C

// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
// expected-no-diagnostics
// Testing core functionality of the SValBuilder.
int SValBuilderLogicNoCrash(int *x) {
return 3 - (int)(x +3);
}