1// RUN: sed -e 's#//.*$##' %s > %t.cpp
2// RUN: not clang-include-fixer -db=fixed -input='foo= "foo.h"' %t.cpp --
3// RUN: FileCheck %s -input-file=%t.cpp
4
5// CHECK-NOT: #include
6// CHECK: #include "doesnotexist.h"
7// CHECK-NEXT: foo f;
8
9#include "doesnotexist.h"
10foo f;
11

source code of clang-tools-extra/test/clang-include-fixer/exit_on_fatal.cpp