]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Analysis/svalbuilder-logic.c
Vendor import of clang trunk r161861:
[FreeBSD/FreeBSD.git] / test / Analysis / svalbuilder-logic.c
1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
2
3 // Testing core functionality of the SValBuilder.
4
5 int SValBuilderLogicNoCrash(int *x) {
6   return 3 - (int)(x +3);
7 }