Sign in
cobalt
/
cobalt
/
9acf5125db5988fba13d7ec2ee71f8dec679c7bf
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaCXX
/
warn-self-comparisons.cpp
blob: 2e8d130bcd5a0aa43fb6393334824151af57c096 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
void
f
(
int
(&
array1
)[
2
],
int
(&
array2
)[
2
])
{
if
(
array1
==
array2
)
{
}
// no warning
}