ninja: Entering directory `out/gn' [1/11] LINK ./bin/llvm-ar.exe [2/11] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:win) [3/11] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:win) [4/11] STAMP obj/llvm/tools/llvm-ar/llvm-dlltool.stamp [5/11] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:win) [6/11] STAMP obj/llvm/tools/llvm-ar/llvm-ranlib.stamp [7/11] STAMP obj/llvm/tools/llvm-ar/llvm-lib.stamp [8/11] STAMP obj/llvm/tools/llvm-ar/sllvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\src\depot_tools\win_tools-2_7_6_bin2\git\usr\bin llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using clang: c:\src\llvm-project\out\gn\bin\clang.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using ld.lld: c:\src\llvm-project\out\gn\bin\ld.lld.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using lld-link: c:\src\llvm-project\out\gn\bin\lld-link.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using ld64.lld: c:\src\llvm-project\out\gn\bin\ld64.lld.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:506: note: using wasm-ld: c:\src\llvm-project\out\gn\bin\wasm-ld.exe -- Testing: 21125 tests, 48 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/update-single-check.test (21115 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/update-single-check.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-single-check.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-single-check.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-single-check.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-single-check.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-single-check.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-single-check.test.tmp.c # | @@ -1,4 +1,4 @@ # | -void foo() { # | - // expected-error@+1{{use of undeclared identifier 'bar'}} # | - bar = 2; # | -} # | +void foo() { # | + // expected-error@+1{{use of undeclared identifier 'bar'}} # | + bar = 2; # | +} # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/multiple-errors.test (21116 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/multiple-errors.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-errors.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-errors.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-errors.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-errors.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-errors.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-errors.test.tmp.c # | @@ -1,9 +1,9 @@ # | -void foo() { # | - // expected-error@+1{{use of undeclared identifier 'a'}} # | - a = 2; # | - // expected-error@+1{{use of undeclared identifier 'b'}} # | - b = 2; # | - # | - // expected-error@+1{{use of undeclared identifier 'c'}} # | - c = 2; # | -} # | +void foo() { # | + // expected-error@+1{{use of undeclared identifier 'a'}} # | + a = 2; # | + // expected-error@+1{{use of undeclared identifier 'b'}} # | + b = 2; # | + # | + // expected-error@+1{{use of undeclared identifier 'c'}} # | + c = 2; # | +} # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/leave-existing-diags.test (21117 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/leave-existing-diags.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/leave-existing-diags.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/leave-existing-diags.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/leave-existing-diags.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/leave-existing-diags.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/leave-existing-diags.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\leave-existing-diags.test.tmp.c # | @@ -1,12 +1,12 @@ # | -void foo() { # | - a = 2; # | - // expected-error@-1{{use of undeclared identifier 'a'}} # | - b = 2;// expected-error{{use of undeclared identifier 'b'}} # | - c = 2; # | - // expected-error@5{{use of undeclared identifier 'c'}} # | - d = 2; // expected-error-re{{use of {{.*}} identifier 'd'}} # | - # | - // expected-error@+1{{use of undeclared identifier 'e'}} # | - e = 2; // error to trigger mismatch # | -} # | - # | +void foo() { # | + a = 2; # | + // expected-error@-1{{use of undeclared identifier 'a'}} # | + b = 2;// expected-error{{use of undeclared identifier 'b'}} # | + c = 2; # | + // expected-error@5{{use of undeclared identifier 'c'}} # | + d = 2; // expected-error-re{{use of {{.*}} identifier 'd'}} # | + # | + // expected-error@+1{{use of undeclared identifier 'e'}} # | + e = 2; // error to trigger mismatch # | +} # | + # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/duplicate-diag.test (21118 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/duplicate-diag.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/duplicate-diag.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/duplicate-diag.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/duplicate-diag.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/duplicate-diag.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/duplicate-diag.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\duplicate-diag.test.tmp.c # | @@ -1,8 +1,8 @@ # | -void foo() { # | - // expected-error@+1 2{{use of undeclared identifier 'a'}} # | - a = 2; a = 2; # | - // expected-error@+1 2{{use of undeclared identifier 'b'}} # | - b = 2; b = 2; # | - // expected-error@+1 2{{use of undeclared identifier 'c'}} # | - c = 2; c = 2; # | -} # | +void foo() { # | + // expected-error@+1 2{{use of undeclared identifier 'a'}} # | + a = 2; a = 2; # | + // expected-error@+1 2{{use of undeclared identifier 'b'}} # | + b = 2; b = 2; # | + // expected-error@+1 2{{use of undeclared identifier 'c'}} # | + c = 2; c = 2; # | +} # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/no-diags.test (21119 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/no-diags.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-diags.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-diags.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-diags.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-diags.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-diags.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-diags.test.tmp.c # | @@ -1,5 +1,5 @@ # | -// expected-no-diagnostics # | -void foo() { # | - int a = 2; # | -} # | - # | +// expected-no-diagnostics # | +void foo() { # | + int a = 2; # | +} # | + # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/update-same-line.test (21120 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/update-same-line.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-same-line.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-same-line.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-same-line.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-same-line.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/update-same-line.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\update-same-line.test.tmp.c # | @@ -1,4 +1,4 @@ # | -void foo() { # | - bar = 2; // expected-error {{use of undeclared identifier 'bar'}} # | -} # | - # | +void foo() { # | + bar = 2; // expected-error {{use of undeclared identifier 'bar'}} # | +} # | + # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/infer-indentation.test (21121 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/infer-indentation.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/infer-indentation.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/infer-indentation.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/infer-indentation.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/infer-indentation.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/infer-indentation.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\infer-indentation.test.tmp.c # | @@ -1,11 +1,11 @@ # | -void foo() { # | - // expected-error@+3 {{use of undeclared identifier 'c'}} # | - // expected-error@+2 2 {{use of undeclared identifier 'b'}} # | - // expected-error@+1 2 {{use of undeclared identifier 'a'}} # | - a = 2; a = 2; b = 2; b = 2; c = 2; # | - // expected-error@+1 {{use of undeclared identifier 'd'}} # | - d = 2; # | - // expected-error@+1 {{use of undeclared identifier 'f'}} # | - e = 2; f = 2; // expected-error {{use of undeclared identifier 'e'}} # | -} # | - # | +void foo() { # | + // expected-error@+3 {{use of undeclared identifier 'c'}} # | + // expected-error@+2 2 {{use of undeclared identifier 'b'}} # | + // expected-error@+1 2 {{use of undeclared identifier 'a'}} # | + a = 2; a = 2; b = 2; b = 2; c = 2; # | + // expected-error@+1 {{use of undeclared identifier 'd'}} # | + d = 2; # | + // expected-error@+1 {{use of undeclared identifier 'f'}} # | + e = 2; f = 2; // expected-error {{use of undeclared identifier 'e'}} # | +} # | + # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/no-checks.test (21122 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/no-checks.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-checks.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-checks.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-checks.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-checks.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-checks.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-checks.test.tmp.c # | @@ -1,4 +1,4 @@ # | -void foo() { # | - // expected-error@+1{{use of undeclared identifier 'bar'}} # | - bar = 2; # | -} # | +void foo() { # | + // expected-error@+1{{use of undeclared identifier 'bar'}} # | + bar = 2; # | +} # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/non-default-prefix.test (21123 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/non-default-prefix.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/non-default-prefix.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify=check C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' --prefix check # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/non-default-prefix.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify=check 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' --prefix check # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/non-default-prefix.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/non-default-prefix.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/non-default-prefix.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\non-default-prefix.test.tmp.c # | @@ -1,5 +1,5 @@ # | -void foo() { # | - a = 2; // check-error{{use of undeclared identifier 'a'}} # | - // expected-error@-1{ignored}} # | -} # | - # | +void foo() { # | + a = 2; // check-error{{use of undeclared identifier 'a'}} # | + // expected-error@-1{ignored}} # | +} # | + # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/no-expected-diags.test (21124 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/no-expected-diags.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-expected-diags.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-expected-diags.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-expected-diags.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-expected-diags.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/no-expected-diags.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\no-expected-diags.test.tmp.c # | @@ -1,4 +1,4 @@ # | -void foo() { # | - // expected-error@+1{{use of undeclared identifier 'a'}} # | - a = 2; # | -} # | +void foo() { # | + // expected-error@+1{{use of undeclared identifier 'a'}} # | + a = 2; # | +} # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang :: utils/update-verify-tests/multiple-missing-errors-same-line.test (21125 of 21125) ******************** TEST 'Clang :: utils/update-verify-tests/multiple-missing-errors-same-line.test' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 cp C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-missing-errors-same-line.c C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c && not c:\src\llvm-project\out\gn\bin\clang.exe -cc1 -internal-isystem C:\src\llvm-project\out\gn\lib\clang\20\include -nostdsysteminc -verify C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c 2>&1 | python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # executed command: cp 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-missing-errors-same-line.c' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c' # executed command: not 'c:\src\llvm-project\out\gn\bin\clang.exe' -cc1 -internal-isystem 'C:\src\llvm-project\out\gn\lib\clang\20\include' -nostdsysteminc -verify 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c' # executed command: python3 'C:\src\llvm-project\clang\utils\update-verify-tests.py' # .---command stdout------------ # | updated file C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c # `----------------------------- # RUN: at line 2 diff -u C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-missing-errors-same-line.c.expected C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c # executed command: diff -u 'C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-missing-errors-same-line.c.expected' 'C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c' # .---command stdout------------ # | --- C:\src\llvm-project\clang\test\utils\update-verify-tests/Inputs/multiple-missing-errors-same-line.c.expected # | +++ C:\src\llvm-project\out\gn\obj\clang\test\utils\update-verify-tests\Output\multiple-missing-errors-same-line.test.tmp.c # | @@ -1,13 +1,13 @@ # | -void foo() { # | - // expected-error@+3{{use of undeclared identifier 'c'}} # | - // expected-error@+2{{use of undeclared identifier 'b'}} # | - // expected-error@+1{{use of undeclared identifier 'a'}} # | - a = 2; b = 2; c = 2; # | -} # | - # | -void bar() { # | - x = 2; y = 2; z = 2; # | - // expected-error@-1{{use of undeclared identifier 'x'}} # | - // expected-error@-2{{use of undeclared identifier 'y'}} # | - // expected-error@-3{{use of undeclared identifier 'z'}} # | -} # | +void foo() { # | + // expected-error@+3{{use of undeclared identifier 'c'}} # | + // expected-error@+2{{use of undeclared identifier 'b'}} # | + // expected-error@+1{{use of undeclared identifier 'a'}} # | + a = 2; b = 2; c = 2; # | +} # | + # | +void bar() { # | + x = 2; y = 2; z = 2; # | + // expected-error@-1{{use of undeclared identifier 'x'}} # | + // expected-error@-2{{use of undeclared identifier 'y'}} # | + // expected-error@-3{{use of undeclared identifier 'z'}} # | +} # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (11): Clang :: utils/update-verify-tests/duplicate-diag.test Clang :: utils/update-verify-tests/infer-indentation.test Clang :: utils/update-verify-tests/leave-existing-diags.test Clang :: utils/update-verify-tests/multiple-errors.test Clang :: utils/update-verify-tests/multiple-missing-errors-same-line.test Clang :: utils/update-verify-tests/no-checks.test Clang :: utils/update-verify-tests/no-diags.test Clang :: utils/update-verify-tests/no-expected-diags.test Clang :: utils/update-verify-tests/non-default-prefix.test Clang :: utils/update-verify-tests/update-same-line.test Clang :: utils/update-verify-tests/update-single-check.test Testing Time: 507.51s Total Discovered Tests: 38260 Skipped : 30 (0.08%) Unsupported : 267 (0.70%) Passed : 37916 (99.10%) Expectedly Failed: 36 (0.09%) Failed : 11 (0.03%) ymlinks.stamp [9/11] STAMP obj/clang/test/test.stamp [9/11] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:win) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit.py -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.