[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / Frontend / rewrite-includes-missing.c
blob25a59a03217ff73b3cbb4e6bf8401f05dc3a3748
1 // RUN: %clang_cc1 -verify -E -frewrite-includes %s -o - | FileCheck -strict-whitespace %s
3 #include "foobar.h" // expected-error {{'foobar.h' file not found}}
4 // CHECK: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
5 // CHECK-NEXT: {{^}}#include "foobar.h"
6 // CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
7 // CHECK-NEXT: {{^}}# 3 "{{.*}}rewrite-includes-missing.c"{{$}}
8 // CHECK-NEXT: {{^}}# 4 "{{.*}}rewrite-includes-missing.c"{{$}}