aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-05-05 22:29:39 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-05-05 22:35:54 +0200
commit843547eb48549342f464c39a658c759ac1e42f58 (patch)
treefa69f346f006e4c13ebfd32c16b24ca421d69cd2
parentb96ab2e1a9539d1bb6a807774b9afe061de68fc4 (diff)
downloadgcc-843547eb48549342f464c39a658c759ac1e42f58.zip
gcc-843547eb48549342f464c39a658c759ac1e42f58.tar.gz
gcc-843547eb48549342f464c39a658c759ac1e42f58.tar.bz2
Fix 'dg-error' directive in 'rust.test/xfail_compile/issue-407.rs' [#409]
..., so that this actually does verify the error diagnostic.
-rw-r--r--gcc/testsuite/rust.test/xfail_compile/issue-407.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/rust.test/xfail_compile/issue-407.rs b/gcc/testsuite/rust.test/xfail_compile/issue-407.rs
index 49ce91b..70a845f 100644
--- a/gcc/testsuite/rust.test/xfail_compile/issue-407.rs
+++ b/gcc/testsuite/rust.test/xfail_compile/issue-407.rs
@@ -1,5 +1,5 @@
// { dg-excess-errors "failed to parse" }
fn test() {
let mut a = 1;
- a + = 1; // { dg-error "found unexpected token ‘=’ in null denotation"
+ a + = 1; // { dg-error "found unexpected token '=' in null denotation" }
}