diff options
author | YizhePKU <yizhe@pku.edu.cn> | 2021-04-02 17:41:42 +0000 |
---|---|---|
committer | YizhePKU <yizhe@pku.edu.cn> | 2021-04-02 17:41:42 +0000 |
commit | a707707b97caa896e807db00213381d9b418c2cd (patch) | |
tree | cdef5301312502a9195c35f92d72f26b8c2b3052 | |
parent | 85a3a9866c2d5273e72afcaf1c2fba2727ab2376 (diff) | |
download | gcc-a707707b97caa896e807db00213381d9b418c2cd.zip gcc-a707707b97caa896e807db00213381d9b418c2cd.tar.gz gcc-a707707b97caa896e807db00213381d9b418c2cd.tar.bz2 |
Add dg-error directive to tests
-rw-r--r-- | gcc/testsuite/rust.test/xfail_compile/array_empty_list.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/rust.test/xfail_compile/array_empty_list.rs b/gcc/testsuite/rust.test/xfail_compile/array_empty_list.rs index d917a4f9..b647cea 100644 --- a/gcc/testsuite/rust.test/xfail_compile/array_empty_list.rs +++ b/gcc/testsuite/rust.test/xfail_compile/array_empty_list.rs @@ -1,3 +1,4 @@ +// { dg-error "unable to determine type" "" { target { *-*-* } } 0 } fn main() { let arr = []; } |