Skip to content

Commit c719809

Browse files
committed
Revert this test for now
1 parent 7fefe94 commit c719809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Index/warning-flags.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int *bar(float *f) { return f; }
99
// RUN: c-index-test -test-load-source-reparse 5 all -w %s 2>&1 | FileCheck -check-prefix=NOWARNINGS %s
1010
// RUN: c-index-test -test-load-source all -w -O4 %s 2>&1 | FileCheck -check-prefix=NOWARNINGS %s
1111

12-
// CHECK-BOTH-WARNINGS: error: non-void function does not return a value
12+
// CHECK-BOTH-WARNINGS: warning: non-void function does not return a value
1313
// CHECK-BOTH-WARNINGS: warning: incompatible pointer types returning 'float *' from a function with result type 'int *'
1414

1515
// CHECK-SECOND-WARNING-NOT:non-void function does not return a value

0 commit comments

Comments
 (0)