1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4
5# RUN: echo "A B C 100" > %t.call_graph
6# RUN: not ld.lld %t --call-graph-ordering-file \
7# RUN:   %t.call_graph -o /dev/null 2>&1 | FileCheck %s
8
9# CHECK: {{.*}}.call_graph: parse error
10
11# RUN: echo "A B C" > %t.call_graph
12# RUN: not ld.lld %t --call-graph-ordering-file \
13# RUN:   %t.call_graph -o /dev/null 2>&1 | FileCheck %s
14