1# RUN: not llvm-sim %s 2>&1 | FileCheck %s
2# RUN: not llvm-sim %s.2 2>&1 | FileCheck -DMSG=%errc_ENOENT %s --check-prefix=EXIST
3
4# File reading error messaging tests.
5
6# CHECK: error: expected top-level entity
7
8# EXIST: error: Could not open input file: [[MSG]]
9