1/* Check if avx target functions can inline lower target functions. */ 2/* { dg-do compile } */ 3/* { dg-options "-O0 -mno-avx -mno-sse3" } */ 4 5__attribute__((always_inline,target("sse3"))) 6inline int callee () 7{ 8 return 0; 9} 10 11__attribute__((target("avx"))) 12inline int caller () 13{ 14 return callee (); 15} 16 17int main () 18{ 19 return caller (); 20} 21