Eric Christopher | 85e5156 | 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 | ||||
Pete Cooper | 3b39e88 | 2015-11-19 05:55:59 +0000 | [diff] [blame] | 4 | // CHECK: call void @llvm.memset.p0i8.{{.*}}i32 4, i1 false) |
Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 5 | void q() { struct A a = {0}; } |