]> granicus.if.org Git - clang/commitdiff
Fix a couple of tests.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 24 Mar 2009 01:11:18 +0000 (01:11 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 24 Mar 2009 01:11:18 +0000 (01:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67592 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/x86_32-arguments.c
test/Sema/implicit-builtin-decl.c

index 339f16e0f798be6a4af0d71e1ea74ee015697c2e..d7663072e3274a00b918b6d68963677e1d5d606c 100644 (file)
@@ -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 &&
index 6477a5723ffa7711c2699a10571dcbdb79487630..e022b6d8fd57d8adfea3b31962ffb67e03105653 100644 (file)
@@ -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[])