Files
codeql/cpp/ql/test/library-tests/comments/comments/comments_99.c
2018-08-02 17:53:23 +01:00

9 lines
152 B
C

static int abs(int x) {
/* This is wrong for INT_MIN. */
if(x > 0)
return x;
else
return -x;
}
// semmle-extractor-options: -std=c99