☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
generics25.rs
☽
☼
gcc/testsuite/rust/compile/torture/generics25.rs
code
plain
raw
1
#[lang = "sized"]
2
pub trait Sized {}
3
4
struct Foo<A, B = (A, A)>(A, B);
5
6
fn main() {
7
let a: Foo<bool>;
8
a = Foo::<bool>(true, (false, true));
9
10
let b: (bool, bool);
11
b = a.1;
12
}