summary refs log tree commit diff
path: root/src/test/ui/proc-macro/derive-bad.rs
blob: 62c0741b6697a484385e051eeda0afcc8af4ca21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// aux-build:derive-bad.rs

#[macro_use]
extern crate derive_bad;

#[derive(
    A
)]
//~^^ ERROR proc-macro derive produced unparseable tokens
//~| ERROR expected `:`, found `}`
struct A;

fn main() {}