diff options
| author | grischka <grischka> | 2011-08-06 16:08:21 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2011-08-06 16:11:57 +0200 |
| commit | 5e5e29f8fd7ffb51e916a9ead3943fa2707fb530 (patch) | |
| tree | df39ad231e2e42ae065936eb6df028b9f972baca /tests/tcctest.c | |
| parent | f115c1234692364f3f097a416e4a6e21abf0cbf3 (diff) | |
| download | tinycc-5e5e29f8fd7ffb51e916a9ead3943fa2707fb530.tar.gz tinycc-5e5e29f8fd7ffb51e916a9ead3943fa2707fb530.tar.bz2 | |
tcctest: switch weak_toolate proto with impl
gcc -O0 didn't like this.
Diffstat (limited to 'tests/tcctest.c')
| -rw-r--r-- | tests/tcctest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c index 92f239e..f0d82cf 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) { |
