[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / clang-tools-extra / test / clang-tidy / infrastructure / nolintbeginend-begin-at-eof.cpp
blob0d3dcf381eabaaa7734c29c0f91fb2934507d78c
1 // RUN: not clang-tidy %s --checks='-*,google-explicit-constructor' 2>&1 | FileCheck %s
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]
11 class A { A(int i); };
12 // NOLINTBEGIN