1f4a2713aSLionel Sambuc // Test this without pch. 2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -include %S/cxx-required-decls.h %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s 3f4a2713aSLionel Sambuc 4f4a2713aSLionel Sambuc // Test with pch. 5*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -x c++-header -triple %itanium_abi_triple -emit-pch -o %t %S/cxx-required-decls.h 6*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -include-pch %t %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s 7f4a2713aSLionel Sambuc 8f4a2713aSLionel Sambuc // CHECK: @_ZL5globS = internal global %struct.S zeroinitializer 9f4a2713aSLionel Sambuc // CHECK: @_ZL3bar = internal global i32 0, align 4 10f4a2713aSLionel Sambuc // CHECK: @glob_var = global i32 0 11