Sign in
llvm
/
llvm-project
/
746e632dafbec2277c62164b3e63da4bee1d8553
/
.
/
clang-tools-extra
/
test
/
clang-tidy
/
checkers
/
readability-identifier-naming-bugfix.cpp
blob: 9f892ebceccf2d95676d614d6a4745275917347f [
file
] [
log
] [
blame
]
// RUN: %check_clang_tidy -expect-clang-tidy-error %s readability-identifier-naming %t
// This used to cause a null pointer dereference.
auto
[
left
]
=
right
;
// CHECK-MESSAGES: :[[@LINE-1]]:15: error: use of undeclared identifier 'right'