summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/return.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/return.c')
-rw-r--r--clang/test/Sema/return.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/return.c b/clang/test/Sema/return.c
index af78b410512..54c340634d3 100644
--- a/clang/test/Sema/return.c
+++ b/clang/test/Sema/return.c
@@ -60,7 +60,7 @@ int test8() {
(void)(1 + unknown());
} // expected-warning {{control reaches end of non-void function}}
-int halt3() __attribute__((noreturn)); // expected-warning{{functions declared 'noreturn' should have a 'void' result type}}
+int halt3() __attribute__((noreturn));
int test9() {
(void)(halt3() + unknown());
OpenPOWER on IntegriCloud