Skip to content

Commit 620c69d

Browse files
committed
C++: Add more static qualifiers in syntax zoo test
1 parent 87b1c3e commit 620c69d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
void f1() {
1+
static void f1() {
22
for (int i = 0; i < 10; i++) {
33
l1:
44
}
55
;
66
}
77

8-
void f2() {
8+
static void f2() {
99
for (int i = 0; false; i++) { // true edge pruned
1010
}
1111
}
1212

13-
void f3() {
13+
static void f3() {
1414
for (int i = 0; true; i++) { // false edge pruned
1515
}
1616
}
1717

18-
void f4() {
18+
static void f4() {
1919
for (int i = 0; i < 0; i++) { // true edge pruned
2020
}
2121
}

cpp/ql/test/library-tests/syntax-zoo/lorexpr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
void f() {
1+
static void f() {
22
int a, b;
33
if (a || b) {
44
}

0 commit comments

Comments
 (0)