blob: 68db9783ce62f3617f4f8587e0efafef7a1c44eb [file]
/* { dg-do compile } */
/* { dg-require-ifunc "" } */
/* { dg-options "-O0" } */
__attribute__ ((target_version ("dotprod"))) int
foo (); /* { dg-message "previous declaration of .foo \\\[\\\[target_version\\(.dotprod.\\)\\\]\\\]. with type .int\\(void\\)." } */
__attribute__ ((target_version ("sve+sve2"))) int
foo ();
int bar () { return foo (); } /* { dg-error "implicit declaration of function .foo." } */