blob: 05730907a73de74aa4149e1d17ae69dabbff6168 [file] [log] [blame]
module example_5
struct Point {
uint64 x;
}
union NotAPoint {
uint64 x;
uint32 y;
uint16 z;
}
enum Enum {}
enum Enum2 : uint64 {
enum_0 = 0;
enum_1 = 23;
}
enum Enum23 : int32 {
enum_3 = 0;
enum_4 = -23;
}
interface Thing {
const int64 foo = 3;
1: one_function(string s, bool b) -> ();
enum thing {};
0x2: two_function(string s, bool b);
const string foo_string = "3";
3: three_function(string s, request<Thing> r);
4: four_function(string s, request<Thing> r) -> (handle<channel> r);
}