File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
test-results/msvc-2022-c++20 Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ report_diff () {
28
28
if [[ -n " $diff_output " ]]; then
29
29
echo " $error_msg :"
30
30
echo " $file "
31
- printf " \n$diff_output \n\n" | tee -a " $patch_file "
31
+ # $diff_output cannot be put directly in the format string
32
+ # Otherwise \ might be interpreted as an escape character
33
+ printf " \n%s\n\n" " $diff_output " | tee -a " $patch_file "
32
34
failure=1
33
35
fi
34
36
}
@@ -70,8 +72,7 @@ check_file () {
70
72
report_diff " $file " \
71
73
" Non-matching $description " \
72
74
" $patch_file " \
73
- --ignore-cr-at-eol \
74
- --ignore-matching-lines=" C:\\\\ "
75
+ --ignore-cr-at-eol
75
76
fi
76
77
}
77
78
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pure2-assert-expected-not-null.cpp2(14): error C2143: syntax error: missing ';'
14
14
pure2-assert-expected-not-null.cpp2(14): error C2039: 'unexpected': is not a member of 'std'
15
15
predefined C++ types (compiler internal)(347): note: see declaration of 'std'
16
16
pure2-assert-expected-not-null.cpp2(14): error C2660: 'unexpected': function does not take 1 arguments
17
- C:\Program Files\Microsoft Visual Studio�2nterprise\ VC\Tools\MSVC .40.33807\includeh .h(33): note: see declaration of 'unexpected'
17
+ C:\Program Files\Microsoft Visual Studio\2022\Enterprise\ VC\Tools\MSVC\14 .40.33807\include\eh .h(33): note: see declaration of 'unexpected'
18
18
pure2-assert-expected-not-null.cpp2(14): note: while trying to match the argument list '(bool)'
19
19
pure2-assert-expected-not-null.cpp2(14): error C2143: syntax error: missing ';' before '}'
20
20
pure2-assert-expected-not-null.cpp2(15): error C2065: 'ex': undeclared identifier
You can’t perform that action at this time.
0 commit comments