summaryrefslogtreecommitdiffstats
path: root/tests/ui/infinite/infinite-alias.rs
blob: 45356f359ceded3a0916be4376dbdbb930bfe7e3 (plain)
1
2
3
4
5
6
7
8
9
// aux-build: alias.rs
// regression test for 108160

extern crate alias;

use alias::Wrapper;
struct Rec(Wrapper<Rec>); //~ ERROR recursive type `Rec` has infinite

fn main() {}