[cfe-commits] r64985 - /cfe/trunk/test/Sema/implicit-builtin-redecl.c
Douglas Gregor
dgregor at apple.com
Wed Feb 18 16:03:13 PST 2009
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}}
More information about the cfe-commits
mailing list