xref: /llvm-project/clang/test/Frontend/rewrite-includes-filenotfound.c (revision 4b46f72c7f222e938118ba852ded3060b0a911e4)
1 // RUN: not %clang_cc1 -E -frewrite-includes %s -o - 2>&1 | FileCheck %s
2 
3 #include "this file does not exist.foo"
4 #include "this file also does not exist.foo"
5 
6 CHECK: fatal error: {{.*}} file not found
7