summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-28766/main.rs
blob: de12b1fd9dc3de2933f3462af407b2174f456328 (plain)
1
2
3
4
5
6
7
#![crate_type="lib"]
extern crate foo;
use foo::Foo;

pub fn crash() -> Box<Foo> {
  Box::new(Foo::new())
}