brintos

brintos / llvm-project-archived public Read only

0
0
Text · 393 B · 5e16a74 Raw
24 lines · c
1// Test this without pch.2// RUN: %clang_cc1 -include %s -emit-llvm -o - %s | FileCheck %s3 4// Test with pch.5// RUN: %clang_cc1 -emit-pch -o %t %s6// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck %s7 8#ifndef HEADER9#define HEADER10 11struct Bar12{13  // CHECK: align 51214  int buffer[123] __attribute__((__aligned__(512)));15};16 17#else18 19void foo(void) {20  struct Bar bar;21}22 23#endif24