1 # RUN: lld -core %s | FileCheck %s
4 # Test that section groups are parsed properly when there is a reference to a
5 # group atom from outside a group.
15 target: anotherfunction
37 - name: anotherfunction
46 #CHECK: defined-atoms:
48 #CHECK: ref-name: [[PARENT:[a-zA-Z\.0-9_]+]]
50 #CHECK: type: group-comdat
52 #CHECK: - kind: group-child
55 #CHECK: - kind: group-child
58 #CHECK: - kind: group-child
61 #CHECK: - kind: group-child
63 #CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
67 #CHECK: - kind: layout-after
69 #CHECK: target: anotherfunction
76 #CHECK: ref-name: [[GCHILD]]
78 #CHECK: - name: anotherfunction