blob: 2c8ebc497728b73a5ee6be3d35ec5c09a111ab0b [file] [log] [blame]
#[derive(Copy(Bad))]
//~^ ERROR expected one of `)`, `,`, or `::`, found `(`
struct Test1;
#[derive(Copy="bad")]
//~^ ERROR expected one of `)`, `,`, or `::`, found `=`
struct Test2;
#[derive()]
//~^ WARNING empty trait list
struct Test3;
#[derive]
//~^ WARNING empty trait list
struct Test4;
fn main() {}