From a6914d89fa3056ae69b1b734559eb206eb5c95c5 Mon Sep 17 00:00:00 2001 From: Elliot Haisley <35050275+Apache-HB@users.noreply.github.com> Date: Mon, 20 Jul 2020 19:30:42 -0400 Subject: [PATCH] fix failing test forgot that func() != func(void) in c --- test cases/common/235 disabler array addition/meson.build | 6 +++--- test cases/common/235 disabler array addition/test.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test cases/common/235 disabler array addition/meson.build b/test cases/common/235 disabler array addition/meson.build index e0807706e..231f76acf 100644 --- a/test cases/common/235 disabler array addition/meson.build +++ b/test cases/common/235 disabler array addition/meson.build @@ -2,8 +2,8 @@ project('disabler_inside_array', 'c') exes = [] -exes += executable('a', 'test.c') +exes += library('a', 'test.c') -exes += executable('b', 'test.c', dependencies : disabler()) +exes += library('b', 'test.c', dependencies : disabler()) -exes += executable('c', 'test.c') +exes += library('c', 'test.c') diff --git a/test cases/common/235 disabler array addition/test.c b/test cases/common/235 disabler array addition/test.c index 76e819701..e9a7aac03 100644 --- a/test cases/common/235 disabler array addition/test.c +++ b/test cases/common/235 disabler array addition/test.c @@ -1 +1 @@ -int main() { return 0; } +int stub(void) { return 0; }