Add run-pass test for expansion info

This commit is contained in:
David Tolnay
2016-07-04 14:49:50 -07:00
parent 149c87d7c2
commit a3a7e4085f
3 changed files with 19 additions and 1 deletions
+6 -1
View File
@@ -20,6 +20,11 @@ fn run_mode(mode: &'static str) {
}
#[test]
fn compile_test() {
fn compile_fail() {
run_mode("compile-fail");
}
#[test]
fn run_pass() {
run_mode("run-pass");
}