xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-11-07-ZeroAggregateAlign.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
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