summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/functions.c')
-rw-r--r--clang/test/PCH/functions.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/PCH/functions.c b/clang/test/PCH/functions.c
index fd0c3764b47..eb8579ab2ef 100644
--- a/clang/test/PCH/functions.c
+++ b/clang/test/PCH/functions.c
@@ -18,3 +18,8 @@ void test_g0(int *x, float * y) {
g0(y); // expected-warning{{incompatible pointer types passing 'float *', expected 'int *'}}
g0(x);
}
+
+void __attribute__((noreturn)) test_abort(int code) {
+ do_abort(code);
+}
+
OpenPOWER on IntegriCloud