aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/eolian/data/decl.eo
blob: de1ed889c3fca548100a51ed317218a4c580edac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
struct A {
    foo: int;
}

enum B {
    x
}

type C: A;

var pants: B = B.x;

class Decl {
   methods {
      foo {
         params {
            idx: int;
         }
         return: string @owned;
      }
   }
}