Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7bbfffe + ed5e2f3 commit 46d7792Copy full SHA for 46d7792
1 file changed
cpp/ql/test/query-tests/Likely Bugs/Underspecified Functions/test.c
@@ -114,3 +114,13 @@ unsigned int defined_with_ptr_arr(unsigned int *ptr[]) {
114
void declared_and_defined_empty() {
115
return;
116
}
117
+
118
+extern int will_be_k_and_r();
119
120
+int call_k_and_r(int i) {
121
+ return will_be_k_and_r(i); // GOOD
122
+}
123
124
+int will_be_k_and_r(val)
125
+ int val;
126
+{ return val + 1; }
0 commit comments