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.
10 lines
486 B
10 lines
486 B
// RUN: not %clang_cc1 -verify -E -frewrite-includes -include %S/Inputs/rewrite-includes2.h %s -o - | FileCheck -strict-whitespace %s
|
|
main_file_line
|
|
// CHECK: {{^}}# 1 "<built-in>"{{$}}
|
|
// CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes2.h" 1{{$}}
|
|
// CHECK-NEXT: {{^}}int included_line2;{{$}}
|
|
// CHECK-NEXT: {{^}}# 1 "<built-in>" 2{{$}}
|
|
// CHECK-NEXT: {{^}}# 1 "{{.*}}rewrite-includes-cli-include.c"{{$}}
|
|
// CHECK-NEXT: FileCheck
|
|
// CHECK-NEXT: {{^}}main_file_line{{$}}
|