aboutsummaryrefslogtreecommitdiff
path: root/tools/tree-sitter/test/corpus/self-referencing-record.txt
blob: 02948f356e7f1926df410cda62ca428d77804184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
==================
self-referencing-record
==================

module

type
  R = record
    field: ^R
  end

end.

---

(source_file
  (module_declaration
    (type_section
      (type_declaration
        (identifier_definition
          (identifier))
        (record_type
          (field_declaration
            (identifier_definition
              (identifier))
            (pointer_type
              (identifier))))))))