Chandler Carruth | 0ccd98d | 2012-07-20 00:49:51 +0000 | [diff] [blame] | 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 | |||||
7 | #include <fixit-include.h> // expected-error {{'fixit-include.h' file not found with <angled> include; use "quotes" instead}} | ||||
8 | |||||
9 | #pragma does_not_exist // expected-warning {{unknown pragma ignored}} | ||||
10 | |||||
11 | int main( void ) { | ||||
12 | return 0; | ||||
13 | } |