about summary refs log tree commit diff
path: root/tests/ui/infinite/infinite-alias.rs
blob: 7821780a9a1e54b8bde8706c88d76901bc7132a9 (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() {}