llvm-project
23 строки · 393.0 Байт
1// 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 HEADER9#define HEADER10
11struct Bar12{
13// CHECK: align 51214int buffer[123] __attribute__((__aligned__(512)));15};16
17#else18
19void foo(void) {20struct Bar bar;21}
22
23#endif24