Debian Codegraph @

third_party/rust/zerocopy/tests/ui-stable/include_value_wrong_size.rs

raw
1 // Copyright 2022 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #[macro_use]
6 extern crate zerocopy;
7
8 fn main() {}
9
10 // Should fail because the file is 4 bytes long, not 8.
11 const WRONG_SIZE: u64 = include_value!("../../testdata/include_value/data");