2012-08-15 20:02:54 +00:00
|
|
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
|
2012-12-02 13:20:44 +00:00
|
|
|
// expected-no-diagnostics
|
2012-08-15 20:02:54 +00:00
|
|
|
|
|
|
|
// Testing core functionality of the SValBuilder.
|
|
|
|
|
|
|
|
int SValBuilderLogicNoCrash(int *x) {
|
|
|
|
return 3 - (int)(x +3);
|
|
|
|
}
|