Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 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 | ||||
Eric Christopher | 7560b3d | 2011-07-26 23:12:06 +0000 | [diff] [blame] | 4 | // CHECK: call void @llvm.memset.p0i8.{{.*}}i32 4, i1 false) |
Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 5 | void q() { struct A a = {0}; } |