Home | History | Annotate | Download | only in FixIt
      1 // RUN: %clang_cc1 -fsyntax-only -Wall -pedantic -verify %s
      2 // RUN: cp %s %t
      3 // RUN: cp %S/fixit-include.h %T
      4 // RUN: not %clang_cc1 -fsyntax-only -fixit %t
      5 // RUN: %clang_cc1 -Wall -pedantic %t
      6 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
      7 
      8 #include <fixit-include.h> // expected-error {{'fixit-include.h' file not found with <angled> include; use "quotes" instead}}
      9 // CHECK: fix-it:{{.*}}:{8:10-8:27}
     10 
     11 #pragma does_not_exist // expected-warning {{unknown pragma ignored}}
     12 
     13 int main( void ) {
     14   return 0;
     15 }
     16