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