aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/implicit-builtin-redecl.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-19 00:03:13 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-19 00:03:13 +0000
commit9b76143b09a601dc3990b55934f02097f093a699 (patch)
tree896417d6ff18ba8db0ba5f4230c2a1e6f48e1b4c /test/Sema/implicit-builtin-redecl.c
parent6ec3668a2608b63473207319f5ceff9bbd22ea51 (diff)
Make error-message check platform-agnostic
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/implicit-builtin-redecl.c')
-rw-r--r--test/Sema/implicit-builtin-redecl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/implicit-builtin-redecl.c b/test/Sema/implicit-builtin-redecl.c
index 9ff23f9f13..c9b38558b3 100644
--- a/test/Sema/implicit-builtin-redecl.c
+++ b/test/Sema/implicit-builtin-redecl.c
@@ -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}}