1*67e74705SXin Li // Test this without pch. 2*67e74705SXin Li // RUN: %clang_cc1 -include %S/Inputs/chain-ext_vector1.h -include %S/Inputs/chain-ext_vector2.h -fsyntax-only -verify %s 3*67e74705SXin Li 4*67e74705SXin Li // Test with pch. 5*67e74705SXin Li // RUN: %clang_cc1 -emit-pch -o %t1 %S/Inputs/chain-ext_vector1.h 6*67e74705SXin Li // RUN: %clang_cc1 -emit-pch -o %t2 %S/Inputs/chain-ext_vector2.h -include-pch %t1 7*67e74705SXin Li // RUN: %clang_cc1 -include-pch %t2 -fsyntax-only -verify %s 8*67e74705SXin Li test(float4 f4)9*67e74705SXin Liint test(float4 f4) { 10*67e74705SXin Li return f4.xy; // expected-error{{float2}} 11*67e74705SXin Li } 12