blob: 0167df39850e0fcf3c7a05c094547ee56b54db46 [file] [log] [blame]
/* PR middle-end/84723 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
__attribute__((target_clones ("avx", "default")))
__attribute__((noipa))
void
foo (void) /* { dg-error "clones for .target_clones. attribute cannot be created" } */
{ /* { dg-message "function .foo. can never be copied because it has .noclone. attribute" "" { target *-*-* } .-1 } */
}