]> granicus.if.org Git - clang/commitdiff
Make error-message check platform-agnostic
authorDouglas Gregor <dgregor@apple.com>
Thu, 19 Feb 2009 00:03:13 +0000 (00:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 19 Feb 2009 00:03:13 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64985 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/implicit-builtin-redecl.c

index 9ff23f9f13b4d5a8bcd37c4245ed39267f63fb9a..c9b38558b3e2ac66f5df05a0abeeadef71176e8b 100644 (file)
@@ -7,7 +7,7 @@ static void* malloc(int size) {
 }
 
 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}}