blob: d752a5ece16875abbcb119c6895cba49770988f0 [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <array>
#include "test-data.h"
const int rodata = 5;
int bss[BSS_SIZE];
constinit auto data = []() constexpr {
std::array<int, DATA_SIZE + 2> ret{18};
ret.back() = 1;
return ret;
}();
extern "C" constinit const TestData test_data{&rodata, &data.front(), bss};