blob: 85225f5a9cf1dcdff80fee4fc87e87b7755227e0 [file] [log] [blame]
Argyrios Kyrtzidis4eb9fc02010-10-18 19:20:11 +00001// Test this without pch.
2// RUN: %clang_cc1 -include %s -emit-llvm -o - %s | FileCheck %s
3
4// Test with pch.
5// RUN: %clang_cc1 -emit-pch -o %t %s
6// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck %s
7
8#ifndef HEADER
9#define HEADER
10
11struct Bar
12{
13 // CHECK: align 512
14 int buffer[123] __attribute__((__aligned__(512)));
15};
16
17#else
18
19void foo() {
20 struct Bar bar;
21}
22
23#endif