108d5b4efSTeresa Johnson; Test that we get appropriate error when parsing summary with a missing 208d5b4efSTeresa Johnson; summary type label. 363ee0e73STeresa Johnson; RUN: not opt %s 2>&1 | FileCheck %s 408d5b4efSTeresa Johnson 5*b3031593SNick Desaulniers; CHECK: error: Expected 'gv', 'module', 'typeid', 'flags' or 'blockcount' at the start of summary entry 608d5b4efSTeresa Johnson 708d5b4efSTeresa Johnson; ModuleID = 'thinlto-function-summary-callgraph.ll' 808d5b4efSTeresa Johnsontarget datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 908d5b4efSTeresa Johnsontarget triple = "x86_64-unknown-linux-gnu" 1008d5b4efSTeresa Johnson 1108d5b4efSTeresa Johnson; Function Attrs: nounwind uwtable 1208d5b4efSTeresa Johnsondefine i32 @main() #0 { 1308d5b4efSTeresa Johnsonentry: 1408d5b4efSTeresa Johnson ret i32 1 1508d5b4efSTeresa Johnson} 1608d5b4efSTeresa Johnson 17fb89e7a9STeresa Johnson^0 = module: (path: "{{.*}}thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0)) 1808d5b4efSTeresa Johnson^1 = () 19