[cfe-commits] r146321 - /cfe/trunk/test/Sema/attr-availability.c
Fariborz Jahanian
fjahanian at apple.com
Sat Dec 10 11:03:48 PST 2011
Thanks. This should fix the failure. We'll see.
- Fariborz
On Dec 9, 2011, at 11:50 PM, NAKAMURA Takumi wrote:
> Author: chapuni
> Date: Sat Dec 10 01:50:30 2011
> New Revision: 146321
>
> URL: http://llvm.org/viewvc/llvm-project?rev=146321&view=rev
> Log:
> test/Sema/attr-availability.c: Add explicit -triple x86_64-apple-darwin9, for now.
>
> Modified:
> cfe/trunk/test/Sema/attr-availability.c
>
> Modified: cfe/trunk/test/Sema/attr-availability.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/attr-availability.c?rev=146321&r1=146320&r2=146321&view=diff
> ==============================================================================
> --- cfe/trunk/test/Sema/attr-availability.c (original)
> +++ cfe/trunk/test/Sema/attr-availability.c Sat Dec 10 01:50:30 2011
> @@ -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}}
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list