[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / FixIt / fixit-include.c
blobf970f6faae7b4a868a5cf07708ebdcd5a8683f84
1 // RUN: %clang_cc1 -fsyntax-only -Wall -pedantic -verify %s
2 // RUN: mkdir -p %t-dir
3 // RUN: cp %s %t-dir/fixit-include.c
4 // RUN: cp %S/fixit-include.h %t-dir/fixit-include.h
5 // RUN: not %clang_cc1 -fixit %t-dir/fixit-include.c
6 // RUN: %clang_cc1 -Wall -pedantic %t-dir/fixit-include.c
7 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
9 #include <fixit-include.h> // expected-error {{'fixit-include.h' file not found with <angled> include; use "quotes" instead}}
10 // CHECK: fix-it:{{.*}}:{9:10-9:27}
12 #pragma does_not_exist // expected-warning {{unknown pragma ignored}}
14 int main( void ) {
15 return 0;