You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
460 B
9 lines
460 B
4 months ago
|
// RUN: %clang_cc1 -verify -E -frewrite-includes %s -o - | FileCheck -strict-whitespace %s
|
||
|
|
||
|
#include "foobar.h" // expected-error {{'foobar.h' file not found}}
|
||
|
// CHECK: {{^}}#if 0 /* expanded by -frewrite-includes */{{$}}
|
||
|
// CHECK-NEXT: {{^}}#include "foobar.h"
|
||
|
// CHECK-NEXT: {{^}}#endif /* expanded by -frewrite-includes */{{$}}
|
||
|
// CHECK-NEXT: {{^}}# 3 "{{.*}}rewrite-includes-missing.c"{{$}}
|
||
|
// CHECK-NEXT: {{^}}# 4 "{{.*}}rewrite-includes-missing.c"{{$}}
|