From 5e5e29f8fd7ffb51e916a9ead3943fa2707fb530 Mon Sep 17 00:00:00 2001
From: grischka <grischka>
Date: Sat, 6 Aug 2011 16:08:21 +0200
Subject: [PATCH] tcctest: switch weak_toolate proto with impl

gcc -O0 didn't like this.
---
 tests/tcctest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tcctest.c b/tests/tcctest.c
index 92f239ea..f0d82cf6 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -2449,8 +2449,8 @@ int some_lib_func(void);
 int dummy_impl_of_slf(void) { return 444; }
 int some_lib_func(void) __attribute__((weak, alias("dummy_impl_of_slf")));
 
-int weak_toolate() { return 0; }
 int weak_toolate() __attribute__((weak));
+int weak_toolate() { return 0; }
 
 void __attribute__((weak)) weak_test(void)
 {