1*722e705fSSalman Javed // RUN: not clang-tidy %s --checks='-*,google-explicit-constructor' 2>&1 | FileCheck %s 2*722e705fSSalman Javed 3*722e705fSSalman Javed // NOLINTBEGIN 4*722e705fSSalman Javed class A { A(int i); }; 5*722e705fSSalman Javed 6*722e705fSSalman Javed // Note: the expected output has been split over several lines so that clang-tidy 7*722e705fSSalman Javed // does not see the "no lint" suppression comment and mistakenly assume it 8*722e705fSSalman Javed // is meant for itself. 9*722e705fSSalman Javed // CHECK: :[[@LINE-6]]:4: error: unmatched 'NOLIN 10*722e705fSSalman Javed // CHECK: TBEGIN' comment without a subsequent 'NOLIN 11*722e705fSSalman Javed // CHECK: TEND' comment [clang-tidy-nolint] 12*722e705fSSalman Javed // CHECK: :[[@LINE-8]]:11: warning: single-argument constructors must be marked explicit 13