about summary refs log tree commit diff
path: root/tests/ui/attributes/empty-repr.rs
blob: e6ba1baf031aba3db0fd90d1fe6fe69aaf69de8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Regression test for https://github.com/rust-lang/rust/issues/138510

#![feature(where_clause_attrs)]
#![deny(unused_attributes)]

fn main() {
}

fn test() where
#[repr()]
//~^ ERROR unused attribute
(): Sized {

}