diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-03-24 01:11:18 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-03-24 01:11:18 +0000 |
commit | ff59a8ab68326c7f50c78f0cc5a99b1f8fd02b01 (patch) | |
tree | ab38a913c45674d6ab45435471f6b2b6bc1c00f6 | |
parent | 2836c4aa0239b4f4cd750f44a4336763b82d16f8 (diff) |
Fix a couple of tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67592 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/x86_32-arguments.c | 2 | ||||
-rw-r--r-- | test/Sema/implicit-builtin-decl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/x86_32-arguments.c b/test/CodeGen/x86_32-arguments.c index 339f16e0f7..d7663072e3 100644 --- a/test/CodeGen/x86_32-arguments.c +++ b/test/CodeGen/x86_32-arguments.c @@ -1,4 +1,4 @@ -// RUN: clang -triple i386-unknown-unknown -emit-llvm -o %t %s && +// RUN: clang -triple i386-apple-darwin9 -emit-llvm -o %t %s && // RUN: grep 'define signext i8 @f0()' %t && // RUN: grep 'define signext i16 @f1()' %t && // RUN: grep 'define i32 @f2()' %t && diff --git a/test/Sema/implicit-builtin-decl.c b/test/Sema/implicit-builtin-decl.c index 6477a5723f..e022b6d8fd 100644 --- a/test/Sema/implicit-builtin-decl.c +++ b/test/Sema/implicit-builtin-decl.c @@ -42,7 +42,7 @@ void * realloc(void *p, int size) { // expected-warning{{incompatible redeclarat // PR3855 void snprintf(); // expected-warning{{incompatible redeclaration of library function 'snprintf'}} \ - // expected-note{{'snprintf' is a builtin with type 'int (char *, unsigned long, char const *, ...)'}} + // expected-note{{'snprintf' is a builtin}} int main(int argc, char *argv[]) |