android_mt6572_jiabo/external/clang/test/SemaCXX/PR23334.cpp
2025-09-05 16:56:03 +08:00

10 lines
358 B
C++

// RUN: %clang_cc1 -std=c++11 -verify %s -Wno-unused
// This must be at the start of the file (the failure depends on a SmallPtrSet
// not having been reallocated yet).
void fn1() {
// expected-no-diagnostics
constexpr int kIsolationClass = 0;
const int kBytesPerConnection = 0;
[=] { kIsolationClass, kBytesPerConnection, kBytesPerConnection; };
}