1 ; Test that we get appropriate error when parsing summary with a missing
3 ; RUN: not opt %s 2>&1 | FileCheck %s
5 ; CHECK: error: Expected 'gv', 'module', or 'typeid' at the start of summary entry
7 ; ModuleID = 'thinlto-function-summary-callgraph.ll'
8 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
9 target triple = "x86_64-unknown-linux-gnu"
11 ; Function Attrs: nounwind uwtable
12 define i32 @main() #0 {
17 ^0 = module: (path: "{{.*}}thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0))