// RUN: clang-tidy -checks='-*,google-explicit-constructor' %s -- | FileCheck %s template struct A { A(T); }; // CHECK: :[[@LINE-1]]:12: warning: Single-argument constructors must be explicit [google-explicit-constructor] // CHECK-NOT: warning: void f() { A a(0); A b(0); }