aboutsummaryrefslogtreecommitdiff
path: root/tests/ui-stable/include_value_wrong_size.rs
blob: d87b30698bc15bc7d10260bd8fd83a4ce52acc7b (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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.

#[macro_use]
extern crate zerocopy;

fn main() {}

// Should fail because the file is 4 bytes long, not 8.
const WRONG_SIZE: u64 = include_value!("../../testdata/include_value/data");