diff --git a/utils/FileCheck/FileCheck.cpp b/utils/FileCheck/FileCheck.cpp index 9611d24dee8..da14780acfc 100644 --- a/utils/FileCheck/FileCheck.cpp +++ b/utils/FileCheck/FileCheck.cpp @@ -168,6 +168,7 @@ int main(int argc, char **argv) { "error"); SM.PrintMessage(SMLoc::getFromPointer(CurPtr), "scanning from here", "note"); + return 1; } return 0;