github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/cmd/util/ledger/migrations/test-data/cadence_values_migration/test_contract_upgraded.cdc (about)

     1  // Unused import. But keep it here for testing the import resolving.
     2  import NonFungibleToken from 0xf8d6e0586b0a20c7
     3  
     4  access(all) contract Test {
     5  
     6  	access(all) struct interface Foo {}
     7  
     8  	access(all) struct interface Bar {}
     9  
    10  	access(all) struct interface Baz {}
    11  
    12  	access(all) entitlement E
    13  
    14  	access(all) resource R {
    15          access(E) fun foo() {}
    16  	}
    17  
    18  	access(all) fun createR(): @R {
    19  		return <- create R()
    20  	}
    21  }