[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / SemaCXX / PR23334.cpp
blobcd6b4f4551fd64875fb71c8f99083e2ad427fd27
1 // RUN: %clang_cc1 -std=c++11 -verify %s -Wno-unused
3 // This must be at the start of the file (the failure depends on a SmallPtrSet
4 // not having been reallocated yet).
5 void fn1() {
6 // expected-no-diagnostics
7 constexpr int kIsolationClass = 0;
8 const int kBytesPerConnection = 0;
9 [=] { kIsolationClass, kBytesPerConnection, kBytesPerConnection; };