summaryrefslogtreecommitdiffstats
path: root/test/Frontend/cc1-return-codes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Frontend/cc1-return-codes.c')
-rw-r--r--test/Frontend/cc1-return-codes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Frontend/cc1-return-codes.c b/test/Frontend/cc1-return-codes.c
new file mode 100644
index 0000000..da329b9
--- /dev/null
+++ b/test/Frontend/cc1-return-codes.c
@@ -0,0 +1,4 @@
+// cc1 immediate arguments (arguments which displays information and exits)
+// shall exit indicating success (return code 0)
+// RUN: %clang -cc1 -help
+// RUN: %clang -cc1 -version
OpenPOWER on IntegriCloud