]> granicus.if.org Git - clang/commitdiff
test/Sema/attr-availability.c: Add explicit -triple x86_64-apple-darwin9, for now.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 10 Dec 2011 07:50:30 +0000 (07:50 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 10 Dec 2011 07:50:30 +0000 (07:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146321 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/attr-availability.c

index 4dfe65d3d67fa23b6088c29c1652712b4b09028f..cbcdd382aaf01b8c18cb23c80afdc35ba02820ca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fsyntax-only -verify %s
 
 void f0() __attribute__((availability(macosx,introduced=10.4,deprecated=10.2))); // expected-warning{{feature cannot be deprecated in Mac OS X version 10.2 before it was introduced in version 10.4; attribute ignored}}
 void f1() __attribute__((availability(ios,obsoleted=2.1,deprecated=3.0)));  // expected-warning{{feature cannot be obsoleted in iOS version 2.1 before it was deprecated in version 3.0; attribute ignored}}