From: Eli Friedman Date: Tue, 24 Mar 2009 01:11:18 +0000 (+0000) Subject: Fix a couple of tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff59a8ab68326c7f50c78f0cc5a99b1f8fd02b01;p=clang Fix a couple of tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67592 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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[])