1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple=powerpc64-unknown-linux-gnu -faltivec -target-feature +vsx -fsyntax-only -verify %s 2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple=powerpc64le-unknown-linux-gnu -faltivec -target-feature +vsx -fsyntax-only -verify %s 3*0a6a1f1dSLionel Sambuc 4*0a6a1f1dSLionel Sambuc // Legitimate for VSX. 5*0a6a1f1dSLionel Sambuc __vector double vv_d1; 6*0a6a1f1dSLionel Sambuc vector double v_d2; 7*0a6a1f1dSLionel Sambuc 8*0a6a1f1dSLionel Sambuc // These should have errors. 9*0a6a1f1dSLionel Sambuc __vector long double vv_ld3; // expected-error {{cannot use 'long double' with '__vector'}} 10*0a6a1f1dSLionel Sambuc vector long double v_ld4; // expected-error {{cannot use 'long double' with '__vector'}} 11