# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
---
defined-atoms:
- name: A
scope: global
references:
- kind: layout-after
offset: 0
target: E
- name: E
- kind: in-group
target: A
...
# CHKORDER: - name: A
# CHKORDER: - name: E