1*f4a2713aSLionel Sambuc // Test this without pch. 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -include %s -emit-llvm -o - %s | FileCheck %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc // Test with pch. 5*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-pch -o %t %s 6*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck %s 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc #ifndef HEADER 9*f4a2713aSLionel Sambuc #define HEADER 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc struct Bar 12*f4a2713aSLionel Sambuc { 13*f4a2713aSLionel Sambuc // CHECK: align 512 14*f4a2713aSLionel Sambuc int buffer[123] __attribute__((__aligned__(512))); 15*f4a2713aSLionel Sambuc }; 16*f4a2713aSLionel Sambuc 17*f4a2713aSLionel Sambuc #else 18*f4a2713aSLionel Sambuc foo()19*f4a2713aSLionel Sambucvoid foo() { 20*f4a2713aSLionel Sambuc struct Bar bar; 21*f4a2713aSLionel Sambuc } 22*f4a2713aSLionel Sambuc 23*f4a2713aSLionel Sambuc #endif 24