PR tree-optimization/67955
[official-gcc.git] / gcc / testsuite / g++.dg / ext / mvc2.C
blobe7abab81d955048d1b1cbd2181b433c43f8494ec
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
3 __attribute__((target_clones("avx","arch=slm","default")))
4 __attribute__((target("avx")))
5 int foo (); /* { dg-warning "'target' attribute ignored due to conflict with 'target_clones' attribute" } */
7 __attribute__((target_clones("avx","arch=slm","default"),always_inline))
8 int bar (); /* { dg-warning "'always_inline' attribute ignored due to conflict with 'target_clones' attribute" } */