[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / Parser / vsx.c
blob32bc934a7eb6e2b5ad54739d13188861f753a0e6
1 // RUN: %clang_cc1 -triple=powerpc64-unknown-linux-gnu -target-feature +altivec -target-feature +vsx -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -triple=powerpc64le-unknown-linux-gnu -target-feature +altivec -target-feature +vsx -fsyntax-only -verify %s
4 // Legitimate for VSX.
5 __vector double vv_d1;
6 vector double v_d2;
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'}}