summaryrefslogtreecommitdiffstats
path: root/tests/driver/exitcode_syntax_error.c
blob: 6884c221dbaf75427d35abd142c98e8d29206e03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===--- exitcode_syntax_error.c - test input file for iwyu ---------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// Tests that IWYU exits with code 1 when Clang fails to parse the provided
// source code.

// IWYU: expected ';' after top level declarator
// IWYU: unknown type name 'this'
this is not valid C code;

/**** IWYU_SUMMARY(1)

***** IWYU_SUMMARY */