1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-options "-O2 -mno-vsx" } */
5 /* Verify it emits error message on inlining even without LTO. */
9 static inline void __attribute__ ((__always_inline__
))
10 foo () /* { dg-error "inlining failed in call to .* target specific option mismatch" } */
15 __attribute__ ((target ("vsx")))
18 foo (); /* { dg-message "called from here" } */