summaryrefslogtreecommitdiff
path: root/test/CodeGen/openmp_default_simd_align.c
blob: dcab5abf8fcca6b2f6d85b754d514f77c80b6e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -O1 -emit-llvm -o - %s | FileCheck %s

enum e0 { E0 };
struct s0 {
  enum e0         a:31;
};

int f0() {
  return __builtin_omp_required_simd_align(struct s0);
  // CHECK: ret i32 16
}