Merge pull request #668 from marcusklaas/regression-tests

Regression tests
This commit is contained in:
Nick Cameron 2015-12-07 08:10:06 +13:00
commit 397449b292
4 changed files with 13 additions and 0 deletions

View File

@ -22,6 +22,8 @@ fn main() -> &'static str {
remove
formatting"#;
filename.replace(" ", "\\" );
let xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx =
funktion("yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy");

View File

@ -31,3 +31,7 @@ trait Runnable {
trait TraitWithExpr {
fn fn_with_expr(x: [i32; 1]);
}
trait Test {
fn read_struct<T, F>(&mut self, s_name: &str, len: usize, f: F) -> Result<T, Self::Error> where F: FnOnce(&mut Self) -> Result<T, Self::Error>;
}

View File

@ -25,6 +25,8 @@ fn main() -> &'static str {
remove
formatting"#;
filename.replace(" ", "\\");
let xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = funktion("yyyyyyyyyyyyyyyyyyyyy\
yyyyyyyyyyyyyyyyyyyyy\
yyyyyyyyyyyyyyyyyyyyy\

View File

@ -29,3 +29,8 @@ trait Runnable {
trait TraitWithExpr {
fn fn_with_expr(x: [i32; 1]);
}
trait Test {
fn read_struct<T, F>(&mut self, s_name: &str, len: usize, f: F) -> Result<T, Self::Error>
where F: FnOnce(&mut Self) -> Result<T, Self::Error>;
}