summaryrefslogtreecommitdiffstats
path: root/test/clang-include-fixer/exit_on_fatal.cpp
blob: fc8c95a037140e7f2366ab51bbc8d2b023caa257 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: sed -e 's#//.*$##' %s > %t.cpp
// RUN: not clang-include-fixer -db=fixed -input='foo= "foo.h"' %t.cpp --
// RUN: FileCheck %s -input-file=%t.cpp

// CHECK-NOT: #include
// CHECK: #include "doesnotexist.h"
// CHECK-NEXT: foo f;

#include "doesnotexist.h"
foo f;