brintos

brintos / llvm-project-archived public Read only

0
0
Text · 584 B · 716fae0 Raw
23 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// UNSUPPORTED: c++0310 11#include <algorithm>12#include <vector>13 14std::vector<int> ca_allocs;15 16int main(int, char**) {17  ca_allocs.push_back(0);18  for ([[maybe_unused]] const auto& a : ca_allocs)19    ;20 21  return 0;22}23