Skip to content

Commit c0868db

Browse files
fix so noreturn test actually does not return
1 parent b5f53d6 commit c0868db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/small1/c11-noreturn.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
#include <stdnoreturn.h>
33

44
_Noreturn int fun() {
5-
return 5;
5+
SUCCESS;
66
}
77

88
noreturn int blub() {
9-
return 7;
9+
SUCCESS;
1010
}
1111

1212
int blabla() __attribute__((noreturn));
1313

1414
int blabla() {
15-
return 8;
15+
SUCCESS;
1616
}
1717

1818
int main() {

0 commit comments

Comments
 (0)