Files
codeql/cpp/ql/test/library-tests/syntax-zoo/ifstmt.c
2019-08-06 14:10:25 +02:00

33 lines
279 B
C

void always_false_1() {
if(0) {
l1:;
}
l2:;
}
void always_false_2() {
if(0)
l1:;
l2:;
}
void always_true_1() {
if(1) {
l1:;
}
l2:;
}
void always_true_2() {
if(1)
l1:;
l2:;
}
void normal(int x, int y) {
if(x == y) {
l1:;
}
l2:;
}