1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
8 void (X::*pmf
)() & = &X::f
;
11 void (*[[attr
]] fn_ptr
)() = &fn
; // expected-warning{{unknown attribute 'attr' ignored}}
12 void (*[[attrA
]] *[[attrB
]] fn_ptr_ptr
)() = &fn_ptr
; // expected-warning{{unknown attribute 'attrA' ignored}} expected-warning{{unknown attribute 'attrB' ignored}}
14 void (&[[attr
]] fn_lref
)() = fn
; // expected-warning{{unknown attribute 'attr' ignored}}
15 void (&&[[attr
]] fn_rref
)() = fn
; // expected-warning{{unknown attribute 'attr' ignored}}
18 int (*[[attr(i
[1])]] pi
); // expected-warning{{unknown attribute 'attr' ignored}}