summaryrefslogtreecommitdiffstats
path: root/clang/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
commit120951391ca379a6a6fa579f956c17eae4e3c842 (patch)
tree0e386811c710751bad31d491d15ff38a962bfca9 /clang/test/Sema/implicit-builtin-redecl.c
parent5f361c9f1e1bb10592cefe02595710d6527362af (diff)
downloadbcm5719-llvm-120951391ca379a6a6fa579f956c17eae4e3c842.tar.gz
bcm5719-llvm-120951391ca379a6a6fa579f956c17eae4e3c842.zip
Make error-message check platform-agnostic
llvm-svn: 64985
Diffstat (limited to 'clang/test/Sema/implicit-builtin-redecl.c')
-rw-r--r--clang/test/Sema/implicit-builtin-redecl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/implicit-builtin-redecl.c b/clang/test/Sema/implicit-builtin-redecl.c
index 9ff23f9f13b..c9b38558b3e 100644
--- a/clang/test/Sema/implicit-builtin-redecl.c
+++ b/clang/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}}
OpenPOWER on IntegriCloud