about summary refs log tree commit diff
path: root/tests/run-make/box-struct-no-segfault/foo.rs
blob: 0897b74b3567f3239a301238021c8e7f0e78502d (plain)
1
2
3
4
5
6
7
8
#![crate_type = "lib"]
pub struct Foo(());

impl Foo {
    pub fn new() -> Foo {
        Foo(())
    }
}