From b6d5e15aae202f157c6cd63da8fa4b089e7b31e9 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Wed, 4 Nov 2009 15:04:32 +0000 Subject: Update clang to r86025. --- test/Coverage/objc-language-features.inc | 6 ++++++ test/Coverage/targets.c | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'test/Coverage') diff --git a/test/Coverage/objc-language-features.inc b/test/Coverage/objc-language-features.inc index dd57dfb..dbbf205 100644 --- a/test/Coverage/objc-language-features.inc +++ b/test/Coverage/objc-language-features.inc @@ -14,6 +14,7 @@ @interface A : Root { int iv0; B *iv1; + B *iv2; } @property(readonly) int p0; @@ -21,11 +22,16 @@ @property(copy) id p2; @property(retain) id p3; @property(assign, getter=getme, setter=setme:) id p4; +@property(assign, readwrite) id p5; @end @implementation A @dynamic p0; @synthesize p1 = iv0; + +// Property type can differ from ivar type. +@synthesize p5 = iv2; + +(void) fm0 { [super fm0]; } diff --git a/test/Coverage/targets.c b/test/Coverage/targets.c index 5a87b4d..c4f030f 100644 --- a/test/Coverage/targets.c +++ b/test/Coverage/targets.c @@ -16,4 +16,8 @@ // RUN: clang-cc -g -triple x86_64-apple-darwin9 -emit-llvm -o %t %s && // RUN: clang-cc -g -triple x86_64-pc-linux-gnu -emit-llvm -o %t %s && // RUN: clang-cc -g -triple x86_64-unknown-unknown -emit-llvm -o %t %s && + +// clang 1.0 fails to compile Python 2.6 +// RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -mmacosx-version-min=10.4 && + // RUN: true -- cgit v1.1