blob: 45d478d61fb9bbb5d99923ea74e099f74adc37c4 [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.transitional;
protocol TransitionalEvent {
@transitional
-> Event();
};
/// Protocol with a non-transitional method and transitional method.
/// Only the non-transitional method should need to be implemented.
protocol TransitionMethods {
ImplementedMethod() -> (struct {
value string;
});
@transitional("This method should not need to be implemented to build")
UnimplementedMethod() -> (struct {
value string;
});
};