blob: e90e5ed4674146ec4e49a737bfe403d7af3bbec4 [file] [log] [blame]
/* PR middle-end/84723 */
/* { dg-do compile } */
/* { dg-require-ifunc "" } */
__attribute__((target_clones("arch=haswell", "default"))) int __tanh() {}
__typeof(__tanh) tanhf64 __attribute__((alias("__tanh")))/* { dg-error "clones for .target_clones. attribute cannot be created" } */
/* { dg-message "'target_clones' cannot be combined with 'alias' attribute" "" { target *-*-* } .-1 } */
__attribute__((__copy__(__tanh)));