brintos

brintos / llvm-project-archived public Read only

0
0
Text · 407 B · 3d0ebab Raw
21 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -triple powerpc-ibm-aix-xcoff -x c++ < %s | \2// RUN:   FileCheck %s3 4// RUN: %clang_cc1 -emit-llvm -triple powerpc64-ibm-aix-xcoff -x c++ < %s | \5// RUN:   FileCheck %s6 7struct A {8  char x;9};10 11struct B {12  int x;13};14 15struct __attribute__((__packed__)) C : A, B {} c;16 17int s = sizeof(c);18 19// CHECK: @c = global %struct.C zeroinitializer, align 120// CHECK: @s = global i32 521