Skip to content

Commit fcb5361

Browse files
Fix typo in test
1 parent 6bd9488 commit fcb5361

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/Analysis/stream.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ void test_fprintf() {
475475
}
476476

477477

478-
int test_vscanf_inner(const char *fmt, ...) {
478+
int test_vfscanf_inner(const char *fmt, ...) {
479479
FILE *F1 = tmpfile();
480480
if (!F1)
481481
return EOF;
@@ -490,9 +490,9 @@ int test_vscanf_inner(const char *fmt, ...) {
490490
return r;
491491
}
492492

493-
void test_vscanf() {
493+
void test_vfscanf() {
494494
int i = 42;
495-
int r = test_vscanf_inner("%d", &i);
495+
int r = test_vfscanf_inner("%d", &i);
496496
if (r != EOF) {
497497
clang_analyzer_dump_int(i); // expected-warning {{conj_$}}
498498
// FIXME va_list "hides" the pointer to i

0 commit comments

Comments
 (0)