f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
15 lines
554 B
C
15 lines
554 B
C
// RUN: %clang_cc1 -fsyntax-only -Wall -pedantic -verify %s
|
|
// RUN: cp %s %t
|
|
// RUN: cp %S/fixit-include.h %T
|
|
// RUN: not %clang_cc1 -fsyntax-only -fixit %t
|
|
// RUN: %clang_cc1 -Wall -pedantic %t
|
|
// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
|
|
|
|
#include <fixit-include.h> // expected-error {{'fixit-include.h' file not found with <angled> include; use "quotes" instead}}
|
|
// CHECK: fix-it:{{.*}}:{8:10-8:27}
|
|
|
|
#pragma does_not_exist // expected-warning {{unknown pragma ignored}}
|
|
|
|
int main( void ) {
|
|
return 0;
|
|
}
|