// RUN: %clang_cc1 %s -DUSEIT -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
// Test with decls and template defs in pch, and just use in .cpp
// RUN: %clang_cc1 %s -DTMPL_DEF_IN_HEADER -triple %itanium_abi_triple -emit-pch -o %t
// RUN: %clang_cc1 %s -DTMPL_DEF_IN_HEADER -DUSEIT -triple %itanium_abi_triple -include-pch %t -emit-llvm -o - | FileCheck %s
// Test with A in pch, and B and C in main
// Test with just decls in pch, and template defs and use in .cpp
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-pch -o %t
// RUN: %clang_cc1 %s -DUSEIT -triple %itanium_abi_triple -include-pch %t -emit-llvm -o - | FileCheck %s
;
;
T& TmplWithArray<T, N >::operator
T&
// TMPL_DEF_IN_HEADER
// HEADER
T& TmplWithArray<T, N >::operator
T&
// !TMPL_DEF_IN_HEADER
extern Wrapper ew;
bool
// CHECK-DAG: call {{.*}} @_ZN13TmplWithArrayIbLi10EEixEi
// CHECK-DAG: call {{.*}} @_ZN13TmplWithArrayIbLi10EE5func1Ei
// CHECK-DAG: call {{.*}} @_ZN13TmplWithArrayIbLi10EE5func2Ei