summaryrefslogtreecommitdiffstats
path: root/tests/driver/exitcode_good_error_arg.c
blob: 093a7546265448e5215fab0b61b4e896e085e753 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===--- exitcode_good_error_arg.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.
//
//===----------------------------------------------------------------------===//

// IWYU_ARGS: -Xiwyu --error=100

// When --error is provided, IWYU exits with error only if analysis finds IWYU
// violations. In this case there are none, so IWYU exits with 0.

/**** IWYU_SUMMARY(0)

(tests/driver/exitcode_good_error_arg.c has correct #includes/fwd-decls)

***** IWYU_SUMMARY */