We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 498758a commit de5d648Copy full SHA for de5d648
gcc/testsuite/lib/rust.exp
@@ -181,7 +181,7 @@ proc rust_target_compile { source dest type options } {
181
## FIXME: until the compiler is made less verbose, we need to prune its output almost completely.
182
# Only keep lines containing certain diagnostics so that we can check these.
183
global additional_prunes
184
- lappend additional_prunes "^((?!(error: |warning: )).)*$"
+ lappend additional_prunes "^((?!(error: |warning: |\[Ii\]nternal compiler error: )).)*$"
185
186
return [target_compile $source $dest $type $options]
187
}
gcc/testsuite/rust.test/xfail_compile/unsafe.rs
@@ -0,0 +1,4 @@
1
+fn main() { // { dg-ice "#382" }
2
+ unsafe {
3
+ }
4
+}
0 commit comments