summaryrefslogtreecommitdiffstats
path: root/test cases/common/131 override options/four.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/131 override options/four.c')
-rw-r--r--test cases/common/131 override options/four.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/common/131 override options/four.c b/test cases/common/131 override options/four.c
new file mode 100644
index 0000000..44e344f
--- /dev/null
+++ b/test cases/common/131 override options/four.c
@@ -0,0 +1,9 @@
+int func(void);
+
+static int duplicate_func(void) {
+ return -4;
+}
+
+int main(void) {
+ return duplicate_func() + func();
+}