summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/no-implicit-builtin-decls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/no-implicit-builtin-decls.cpp')
-rw-r--r--test/SemaCXX/no-implicit-builtin-decls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/no-implicit-builtin-decls.cpp b/test/SemaCXX/no-implicit-builtin-decls.cpp
index bd11f92..d82f7f1 100644
--- a/test/SemaCXX/no-implicit-builtin-decls.cpp
+++ b/test/SemaCXX/no-implicit-builtin-decls.cpp
@@ -1,7 +1,7 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
void f() {
- void *p = malloc(sizeof(int) * 10); // expected-error{{no matching function for call to 'malloc'}}
+ void *p = malloc(sizeof(int) * 10); // expected-error{{use of undeclared identifier 'malloc'}}
}
int malloc(double);
OpenPOWER on IntegriCloud