From 37ce2ef0320c69c6765ad3c0f3b7d4f705c45262 Mon Sep 17 00:00:00 2001 From: Martijn Thé Date: Fri, 31 Jul 2015 13:46:59 +0200 Subject: test: fix broken Vararg test The helper function had int return type, while no value was being returned. Signed-off-by: Jiri Slaby --- test/Feature/Vararg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/Feature/Vararg.c b/test/Feature/Vararg.c index 398ba6f8..82fbe4f1 100644 --- a/test/Feature/Vararg.c +++ b/test/Feature/Vararg.c @@ -12,7 +12,7 @@ struct triple { int first, second, third; }; -int test1(int x, ...) { +void test1(int x, ...) { va_list ap; va_start(ap, x); int i32 = va_arg(ap, int); -- cgit 1.4.1