[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Frontend / rewrite-includes-cli-include.c
blobd63f966f79ca6afd9d13f21f1f042274ed0a493e
1 // RUN: not %clang_cc1 -verify -E -frewrite-includes -include %S/Inputs/rewrite-includes2.h %s -o - | FileCheck -strict-whitespace %s
2 main_file_line
3 // CHECK: {{^}}# 1 "<built-in>"{{$}}
4 // CHECK-NEXT: {{^}}# 1 "{{.*[/\\]Inputs(/|\\\\)}}rewrite-includes2.h" 1{{$}}
5 // CHECK-NEXT: {{^}}int included_line2;{{$}}
6 // CHECK-NEXT: {{^}}# 1 "<built-in>" 2{{$}}
7 // CHECK-NEXT: {{^}}# 1 "{{.*}}rewrite-includes-cli-include.c"{{$}}
8 // CHECK-NEXT: FileCheck
9 // CHECK-NEXT: {{^}}main_file_line{{$}}