1 /* { dg-do compile } */
2 
3 /* Test that the assignment of f (with the attribute) to function pointer g
4    (with no attribute) results in an error.  */
5 
6 __attribute__((aarch64_vector_pcs)) void f(void);
7 void (*g)(void) = f; /* { dg-error "incompatible pointer type" } */
8