1*67e74705SXin Li // RUN: %clang_cc1 -std=c++11 -verify %s -Wno-unused 2*67e74705SXin Li 3*67e74705SXin Li // This must be at the start of the file (the failure depends on a SmallPtrSet 4*67e74705SXin Li // not having been reallocated yet). fn1()5*67e74705SXin Livoid fn1() { 6*67e74705SXin Li // expected-no-diagnostics 7*67e74705SXin Li constexpr int kIsolationClass = 0; 8*67e74705SXin Li const int kBytesPerConnection = 0; 9*67e74705SXin Li [=] { kIsolationClass, kBytesPerConnection, kBytesPerConnection; }; 10*67e74705SXin Li } 11