blob: 54f531c0c326548208bde98ed0381901641de895 [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.
library test.experimentalzxctypes;
const USIZE_CONST usize64 = 10;
const UINTPTR_CONST uintptr64 = 11;
const UCHAR_CONST uchar = 12;
alias AliasOfUsize = usize64;
alias AliasOfUintptr = uintptr64;
alias AliasOfUchar = uchar;
alias AliasOfUint32Pointer = experimental_pointer<uint32>;
type Struct = struct {};
type StructOfExperimentalZxCTypes = struct {
us usize64;
up uintptr64;
uc uchar;
u64_ptr experimental_pointer<uint64>;
u32_ptr_ptr experimental_pointer<experimental_pointer<uint32>>;
struct_ptr experimental_pointer<Struct>;
};