| // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -include %s %s -emit-llvm -o - | FileCheck %s |
| // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -x c++-header %s -emit-pch -o %t |
| // RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -fcxx-exceptions -fexceptions -include-pch %t %s -emit-llvm -o - | FileCheck %s |
| template<typename T> void f(T) {} |
| // CHECK-LABEL: define {{.*}}void @_Z1g1A( |
| // CHECK: call {{.*}}void @_Z1fIN1AUt0_EEvT_( |
| // CHECK: call {{.*}}void @_Z1fIN1AUt_EEvT_( |