1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# RUN: lld -core %s 2>&1 | FileCheck %s # # Test that multiple definitions cause an error # # CHECK: duplicate symbol --- defined-atoms: - name: _foo scope: global type: data --- defined-atoms: - name: _foo scope: global type: data ...