mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 00:14:45 +01:00
Add forgotten test files
This commit is contained in:
parent
f7fbe5bdb3
commit
76796f8d75
2 changed files with 15 additions and 0 deletions
8
test/bar.capnp
Normal file
8
test/bar.capnp
Normal file
|
@ -0,0 +1,8 @@
|
|||
@0x84ed73ce30ad1d3e;
|
||||
|
||||
using Foo = import "foo.capnp";
|
||||
|
||||
struct Bar {
|
||||
id @0 :UInt32;
|
||||
foo @1 :Foo.Foo;
|
||||
}
|
7
test/foo.capnp
Normal file
7
test/foo.capnp
Normal file
|
@ -0,0 +1,7 @@
|
|||
@0x84ed73ce30ad1d3f;
|
||||
|
||||
struct Foo {
|
||||
id @0 :UInt32;
|
||||
name @1 :Text;
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue