1 # RUN: not lld -core --undefines-are-errors %s 2> %t.err
2 # RUN: FileCheck -check-prefix=CHECKERR %s < %t.err
3 # RUN: lld -core %s | FileCheck %s
6 # Test that -undefines-are-errors triggers and error
7 # and that not using that option results in undefined atoms.
38 # CHECKERR: symbol(s) not found
40 # CHECK: defined-atoms:
44 # CHECK: undefined-atoms: