xref: /llvm-project/clang/test/Parser/p10-vector-bool-128.c (revision f4c337ab85c0b7ec206da0f2c6576730eefb36c2)
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
7 
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;
13