summaryrefslogtreecommitdiff
path: root/tests/errors
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-09-18 23:30:31 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2021-09-18 23:45:33 +0200
commitff0eda52ceb81d9eec68b732d693c85279116349 (patch)
tree3346c74adc05fcedf1fdc46f53a903a82b60d027 /tests/errors
parent0f3cc46f70252127074c040d9e7e1d2233a7c22d (diff)
downloadvala-ff0eda52ceb81d9eec68b732d693c85279116349.tar.gz
codegen: Add type declaration for implicit temporary local variable
Diffstat (limited to 'tests/errors')
-rw-r--r--tests/errors/bug639589.c-expected2
-rw-r--r--tests/errors/catch-in-finally.c-expected2
-rw-r--r--tests/errors/errors.c-expected2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/errors/bug639589.c-expected b/tests/errors/bug639589.c-expected
index 59ebaf508..f3e3c8212 100644
--- a/tests/errors/bug639589.c-expected
+++ b/tests/errors/bug639589.c-expected
@@ -3,6 +3,8 @@
#include <glib.h>
#include <glib-object.h>
+#include <stdlib.h>
+#include <string.h>
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
diff --git a/tests/errors/catch-in-finally.c-expected b/tests/errors/catch-in-finally.c-expected
index 43991a3dc..cecb359e8 100644
--- a/tests/errors/catch-in-finally.c-expected
+++ b/tests/errors/catch-in-finally.c-expected
@@ -2,6 +2,8 @@
* generated from errors_catch_in_finally.vala, do not modify */
#include <glib.h>
+#include <stdlib.h>
+#include <string.h>
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
diff --git a/tests/errors/errors.c-expected b/tests/errors/errors.c-expected
index 4578d64f7..f688fd06f 100644
--- a/tests/errors/errors.c-expected
+++ b/tests/errors/errors.c-expected
@@ -4,6 +4,8 @@
#include <glib.h>
#include <glib-object.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)