Changes in directory llvm-test/SingleSource/UnitTests:
2007-04-25-weak.c added (r1.1) --- Log message: Add a failing weak test. --- Diffs of the changes: (+8 -0) 2007-04-25-weak.c | 8 ++++++++ 1 files changed, 8 insertions(+) Index: llvm-test/SingleSource/UnitTests/2007-04-25-weak.c diff -c /dev/null llvm-test/SingleSource/UnitTests/2007-04-25-weak.c:1.1 *** /dev/null Wed Apr 25 09:28:20 2007 --- llvm-test/SingleSource/UnitTests/2007-04-25-weak.c Wed Apr 25 09:28:10 2007 *************** *** 0 **** --- 1,8 ---- + extern int test_weak () __attribute__ ((weak)); + + int main(){ + int (*t)() = test_weak; + if (t) + return t(); + else return 250; + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits