[Github] Bump Windows Actions Runner to v2.321.0 (#123508)
[llvm-project.git] / libcxx / test / std / containers / sequences / vector / constant_initialization.pass.cpp
blob716fae0f46a547a8ff97e259938ddc2bbe8bb77d
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03
11 #include <algorithm>
12 #include <vector>
14 std::vector<int> ca_allocs;
16 int main(int, char**) {
17 ca_allocs.push_back(0);
18 for ([[maybe_unused]] const auto& a : ca_allocs)
21 return 0;