Changes in directory llvm-test/SingleSource/UnitTests:

2007-04-25-weak.c updated: 1.1 -> 1.2
---
Log message:

darwinize this testcase



---
Diffs of the changes:  (+5 -0)

 2007-04-25-weak.c |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm-test/SingleSource/UnitTests/2007-04-25-weak.c
diff -u llvm-test/SingleSource/UnitTests/2007-04-25-weak.c:1.1 
llvm-test/SingleSource/UnitTests/2007-04-25-weak.c:1.2
--- llvm-test/SingleSource/UnitTests/2007-04-25-weak.c:1.1      Wed Apr 25 
09:28:10 2007
+++ llvm-test/SingleSource/UnitTests/2007-04-25-weak.c  Sun May 13 17:00:41 2007
@@ -1,4 +1,9 @@
+
+#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+extern int test_weak () __attribute__ ((weak_import));
+#else
 extern int test_weak () __attribute__ ((weak));
+#endif
 
 int main(){
   int (*t)() = test_weak;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to