[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / p10-vector-bool-128.c
blobdf14b04e7e37cfd7b6e6a945a5aa30d89882649c
1 // RUN: %clang_cc1 -triple=powerpc64-unknown-linux-gnu -target-cpu pwr10 \
2 // RUN: -target-feature +vsx -target-feature +power10-vector \
3 // RUN: -fsyntax-only -verify %s
4 // RUN: %clang_cc1 -triple=powerpc64le-unknown-linux-gnu -target-cpu pwr10 \
5 // RUN: -target-feature +power10-vector -fsyntax-only -verify %s
6 // expected-no-diagnostics
8 // Test legitimate uses of 'vector bool __int128' with VSX.
9 __vector bool __int128 v1_bi128;
10 __vector __bool __int128 v2_bi128;
11 vector bool __int128 v3_bi128;
12 vector __bool __int128 v4_bi128;