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