1 /* PR middle-end/84723 */
2 /* { dg-do compile } */
3 /* { dg-require-ifunc } */
4 /* { dg-options "-O2" } */
6 __attribute__((target_clones ("avx", "default")))
8 foo (int x
) /* { dg-error "clones for .target_clones. attribute cannot be created" } */
9 { /* { dg-message "function .foo. can never be copied because it receives a non-local goto" "" { target *-*-* } .-1 } */
11 __attribute__((noinline
)) void bar () { goto lab
; }