Author: dgregor
Date: Wed Feb 18 18:03:13 2009
New Revision: 64985
URL: http://llvm.org/viewvc/llvm-project?rev=64985&view=rev
Log:
Make error-message check platform-agnostic
Modified:
cfe/trunk/test/Sema/implicit-builtin-redecl.c
Modified: cfe/trunk/test/Sema/implicit-builtin-redecl.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/implicit-builtin-redecl.c?rev=64985&r1=64984&r2=64985&view=diff
==============================================================================
--- cfe/trunk/test/Sema/implicit-builtin-redecl.c (original)
+++ cfe/trunk/test/Sema/implicit-builtin-redecl.c Wed Feb 18 18:03:13 2009
@@ -7,7 +7,7 @@
}
void *calloc(int, int, int); // expected-warning{{incompatible redeclaration
of library function 'calloc' will be ignored}} \
-// expected-note{{'calloc' is a builtin with type 'void *(unsigned long,
unsigned long)'}}
+// expected-note{{'calloc' is a builtin with type 'void *}}
void f1(void) {
return calloc(0, 0, 0); // expected-error{{too many arguments to function
call}}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits