github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/cmd/util/ledger/migrations/test-data/cadence_values_migration/test_contract.cdc (about) 1 pub contract Test { 2 3 pub struct interface Foo {} 4 5 pub struct interface Bar {} 6 7 pub struct interface Baz {} 8 9 pub resource R { 10 pub fun foo() {} 11 } 12 13 pub fun createR(): @R { 14 return <- create R() 15 } 16 }