summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/align-local.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/align-local.c')
-rw-r--r--test/CodeGen/align-local.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/align-local.c b/test/CodeGen/align-local.c
index b839ee1..c8b27a8 100644
--- a/test/CodeGen/align-local.c
+++ b/test/CodeGen/align-local.c
@@ -1,7 +1,9 @@
-// RUN: %clang_cc1 -emit-llvm < %s | grep "align 16" | count 2
+// RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s
typedef struct __attribute((aligned(16))) {int x[4];} ff;
+// CHECK: alloca %struct.ff, align 16
+// CHECK: alloca %struct.anon, align 16
int a() {
ff a;
struct {int x[4];} b __attribute((aligned(16)));
OpenPOWER on IntegriCloud