2012-01-05 18:16:42 -08:00
|
|
|
// error-pattern:runned an unexported test
|
|
|
|
// compile-flags:--test
|
|
|
|
|
|
|
|
use std;
|
|
|
|
|
|
|
|
mod m {
|
|
|
|
export exported;
|
|
|
|
|
|
|
|
fn exported() { }
|
|
|
|
|
|
|
|
#[test]
|
2012-07-13 22:57:48 -07:00
|
|
|
fn unexported() { fail ~"runned an unexported test"; }
|
2012-01-05 18:16:42 -08:00
|
|
|
}
|