11 lines · cpp
1// RUN: %clang_cc1 -std=c++11 -verify %s -Wno-unused2 3// This must be at the start of the file (the failure depends on a SmallPtrSet4// not having been reallocated yet).5void fn1() {6 // expected-no-diagnostics7 constexpr int kIsolationClass = 0;8 const int kBytesPerConnection = 0;9 [=] { kIsolationClass, kBytesPerConnection, kBytesPerConnection; };10}11