summaryrefslogtreecommitdiffstats
path: root/tests/driver/exitcode_good.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/driver/exitcode_good.c')
-rw-r--r--tests/driver/exitcode_good.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/driver/exitcode_good.c b/tests/driver/exitcode_good.c
new file mode 100644
index 0000000..6eb542f
--- /dev/null
+++ b/tests/driver/exitcode_good.c
@@ -0,0 +1,16 @@
+//===--- exitcode_good.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 0 when no suggestions are made.
+
+/**** IWYU_SUMMARY(0)
+
+(tests/driver/exitcode_good.c has correct #includes/fwd-decls)
+
+***** IWYU_SUMMARY */