mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 14:46:07 +00:00

Conversion performed using the script at: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only tests where no manual fixup was required.
15 lines
372 B
C
15 lines
372 B
C
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -O0 -o - %s | FileCheck %s
|
|
|
|
static union ibtt2
|
|
{
|
|
struct ibtt0 { signed ibt0:10; unsigned short ibt1; } ibt5;
|
|
struct ibtt1 { signed ibt2:3; signed ibt3:9; signed ibt4:9; } ibt6;
|
|
} ibt15 = {{267, 15266}};
|
|
|
|
void callee_ibt0f(union ibtt2 ibtp5);
|
|
|
|
void test(void) {
|
|
// CHECK: = load i32, ptr
|
|
callee_ibt0f(ibt15);
|
|
}
|