// Copyright 2023 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.tablevalidation; | |
type Example = table { | |
1: num uint32; | |
// Ensure adding a new field does not break source compatibility. | |
2: new_field_not_in_validated_type string; | |
}; | |
type WrapExample = table { | |
1: inner Example; | |
}; | |
type VecOfExample = table { | |
1: vec vector<Example>:MAX; | |
}; |