diff --git a/compiler/src/test/schema/test-import.capnp b/compiler/src/test/schema/test-import.capnp new file mode 100644 index 0000000..d5f7cb0 --- /dev/null +++ b/compiler/src/test/schema/test-import.capnp @@ -0,0 +1,12 @@ +@0xd693321951fee8f3; + +using Java = import "/capnp/java.capnp"; +$Java.package("org.capnproto.testimport"); +$Java.outerClassname("TestImport"); + + +using import "test.capnp".TestAllTypes; + +struct Foo { + importedStruct @0 :TestAllTypes; +}