1// RUN: clang-tidy -checks='-*,google-explicit-constructor' %s -- | FileCheck %s
2
3#define Q(name) class name { name(int i); }
4
5Q(A);
6// CHECK: :[[@LINE-1]]:3: warning: single-argument constructors must be marked explicit
7// CHECK: :3:30: note: expanded from macro 'Q'
8

source code of clang-tools-extra/test/clang-tidy/infrastructure/macros.cpp