Welcome to mirror list, hosted at ThFree Co, Russian Federation.

warn-self-comparisons.cpp « SemaCXX « test « clang - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 620be195c1de0aafd97669de38561708fe5adbbc (plain)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only -verify %s

void f(int (&array1)[2], int (&array2)[2]) {
  if (array1 == array2) { } // no warning
}