diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-05-05 23:08:50 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-05-05 23:17:18 +0200 |
commit | 03e30ba43a86c71eeed6a3d464f57fd67b1069c1 (patch) | |
tree | 678c02ea423fa18164a989c036caadef1610dcb0 /gcc | |
parent | e4a4ebd3160e7b6c2c11f6cec8ff11b2e86a48d1 (diff) | |
download | gcc-03e30ba43a86c71eeed6a3d464f57fd67b1069c1.zip gcc-03e30ba43a86c71eeed6a3d464f57fd67b1069c1.tar.gz gcc-03e30ba43a86c71eeed6a3d464f57fd67b1069c1.tar.bz2 |
Fix (and XFAIL) 'dg-error' directives in 'rust.test/xfail_compile/generics6.rs' [#358]
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/rust.test/xfail_compile/generics6.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/rust.test/xfail_compile/generics6.rs b/gcc/testsuite/rust.test/xfail_compile/generics6.rs index 256d2aa..4cf45fd 100644 --- a/gcc/testsuite/rust.test/xfail_compile/generics6.rs +++ b/gcc/testsuite/rust.test/xfail_compile/generics6.rs @@ -4,7 +4,7 @@ struct Foo<A> { } impl Foo<isize> { - fn test() -> i32 { // {dg-error "possible candidate" } + fn test() -> i32 { // { dg-error "possible candidate" "TODO" { xfail *-*-* } } 123 } @@ -14,7 +14,7 @@ impl Foo<isize> { } impl Foo<f32> { - fn test() -> i32 { // {dg-error "possible candidate" } + fn test() -> i32 { // { dg-error "possible candidate" "TODO" { xfail *-*-* } } 123 } |