1 /* PR ipa/84722.  */
2 /* { dg-do run } */
3 /* { dg-require-ifunc "" } */
4 
5 __attribute__ ((target_clones ("avx", "arch=core-avx2", "default"))) int
foo(int i)6 foo (int i)
7 {
8   return i - 1;
9 }
10 int weaks (int i) __attribute__ ((weak, alias ("foo")));
11 
12 int
main(int argc,char ** argv)13 main (int argc, char **argv)
14 {
15   return weaks (argc);
16 }
17