Skip to content

Commit a9065ff

Browse files
committed
sample
1 parent c3bb804 commit a9065ff

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

samples/incorrectLogicOperator/bad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
void foo(int x) {
33
if (x >= 0 || x <= 10) {}
44
}
5+
6+
dummy=foo();
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
void foo(int x) {
3+
if (x >= 0 && x <= 10) {}
4+
}
5+
6+
dummy=foo();

0 commit comments

Comments
 (0)