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