One of the intended checks was not being performed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290671
91177308-0d34-0410-b5e6-
96231b3b80d8
; Ensure we get expected error for input files without summaries
; RUN: opt -o %t2.o %s
-; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc
+; RUN: %clang -target x86_64-unknown-linux-gnu -O2 -o %t3.o -x ir %t1.o -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR2
; CHECK-ERROR2: Error loading imported file '{{.*}}': Could not find module summary
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"