[llvm-commits] [poolalloc] r137268 - in /poolalloc/branches/release_27/test/type_checks/error: alloc.c indirect_simple.c
Will Dietz
wdietz2 at illinois.edu
Wed Aug 10 16:04:32 PDT 2011
Author: wdietz2
Date: Wed Aug 10 18:04:32 2011
New Revision: 137268
URL: http://llvm.org/viewvc/llvm-project?rev=137268&view=rev
Log:
Return '0' in main() for tests so their return value is defined.
Modified:
poolalloc/branches/release_27/test/type_checks/error/alloc.c
poolalloc/branches/release_27/test/type_checks/error/indirect_simple.c
Modified: poolalloc/branches/release_27/test/type_checks/error/alloc.c
URL: http://llvm.org/viewvc/llvm-project/poolalloc/branches/release_27/test/type_checks/error/alloc.c?rev=137268&r1=137267&r2=137268&view=diff
==============================================================================
--- poolalloc/branches/release_27/test/type_checks/error/alloc.c (original)
+++ poolalloc/branches/release_27/test/type_checks/error/alloc.c Wed Aug 10 18:04:32 2011
@@ -38,4 +38,5 @@
pinloc[i][j] = 0;
}
+ return 0;
}
Modified: poolalloc/branches/release_27/test/type_checks/error/indirect_simple.c
URL: http://llvm.org/viewvc/llvm-project/poolalloc/branches/release_27/test/type_checks/error/indirect_simple.c?rev=137268&r1=137267&r2=137268&view=diff
==============================================================================
--- poolalloc/branches/release_27/test/type_checks/error/indirect_simple.c (original)
+++ poolalloc/branches/release_27/test/type_checks/error/indirect_simple.c Wed Aug 10 18:04:32 2011
@@ -28,4 +28,6 @@
double d = 5.0;
int *t = (*FP)(&d);
int v = *t;
+
+ return 0;
}
More information about the llvm-commits
mailing list