diff --git a/gcc/testsuite/gcc.c-torture/noncompile/noncompile.exp b/gcc/testsuite/gcc.c-torture/noncompile/noncompile.exp index 9ce8c3de8780..ddebf06ddcf8 100644 --- a/gcc/testsuite/gcc.c-torture/noncompile/noncompile.exp +++ b/gcc/testsuite/gcc.c-torture/noncompile/noncompile.exp @@ -225,7 +225,7 @@ postbase $src_code $run $groups # Test 951025-1.c prebase set src_code 951025-1.c -set compiler_output ".*:[12]:" +set compiler_output ".*:\[12\]:" set groups {passed gcc-noncompile}