summaryrefslogtreecommitdiff
path: root/execution-reaches-end-brace-of-function.c
diff options
context:
space:
mode:
Diffstat (limited to 'execution-reaches-end-brace-of-function.c')
-rw-r--r--execution-reaches-end-brace-of-function.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/execution-reaches-end-brace-of-function.c b/execution-reaches-end-brace-of-function.c
new file mode 100644
index 0000000..4f22dd5
--- /dev/null
+++ b/execution-reaches-end-brace-of-function.c
@@ -0,0 +1,8 @@
+int foo(void)
+{
+}
+
+int main(void)
+{
+ return foo();
+}