summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-5315.rs
blob: 0c121a5eee6389b963fcb31da314725260591d77 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
// pretty-expanded FIXME #23616

struct A(#[allow(unused_tuple_struct_fields)] bool);

pub fn main() {
    let f = A;
    f(true);
}