File: exitcode_syntax_error.c

package info (click to toggle)
iwyu 8.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,336 kB
  • sloc: cpp: 17,440; python: 6,416; ansic: 1,307; sh: 55; makefile: 29
file content (19 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (2)
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 */