blob: 03449e2cdabe5ffa686012cc8b13cda6e47273e1 [file]
//! Regression test for https://github.com/rust-lang/rust/issues/17732
//@ check-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]
trait Person {
type string;
fn dummy(&self) { }
}
struct Someone<P: Person>(std::marker::PhantomData<P>);
fn main() {}