xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-11-07-ZeroAggregateAlign.c (revision 0b98e8aad89f2bd4ba80b523d73cf29e9dd82ce1)
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 struct A { short s; short t; int i; };
3 // CHECK: %a = alloca %struct.A, align 4
4 // CHECK: call void @llvm.memset.p0i8.{{.*}}i32 4, i1 false)
5 void q() { struct A a = {0}; }
6