[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / CodeGen / ibm128-unsupported.c
blobf4f0a16003e9e172a1e22a2de789ebcacb6579bf
1 // RUN: %clang_cc1 -triple powerpc64le -emit-llvm-bc -fopenmp %s \
2 // RUN: -fopenmp-targets=powerpc64le,x86_64 -o %t-ppc-host.bc
3 // RUN: %clang_cc1 -verify -triple x86_64 -aux-triple powerpc64le -fopenmp \
4 // RUN: -fopenmp-is-target-device -fopenmp-host-ir-file-path %t-ppc-host.bc %s \
5 // RUN: -fsyntax-only
7 void foo(__ibm128 x); // expected-note {{'foo' defined here}}
9 void loop(int n, __ibm128 *arr) {
10 #pragma omp target parallel
11 for (int i = 0; i < n; ++i) {
12 // expected-error@+1 {{'foo' requires 128 bit size '__ibm128' type support, but target 'x86_64' does not support it}}
13 foo(arr[i]);