etc/services - sync with NetBSD-8
[minix.git] / external / bsd / llvm / dist / clang / test / FixIt / fixit-include.c
blobfd5d7a9ac1426910d1cd65c33e840224c3724e22
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
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}
11 #pragma does_not_exist // expected-warning {{unknown pragma ignored}}
13 int main( void ) {
14 return 0;