From fc675fb87a1f0b7ece7f20ccda880464fa8c6a33 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 15 Jul 2014 17:47:58 +0000 Subject: [PATCH] Improve test of my previous patch. rdar://17633301 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213081 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/weak-metaclass-visibility.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/CodeGenObjC/weak-metaclass-visibility.m b/test/CodeGenObjC/weak-metaclass-visibility.m index b20958ad87..d174bdb08e 100644 --- a/test/CodeGenObjC/weak-metaclass-visibility.m +++ b/test/CodeGenObjC/weak-metaclass-visibility.m @@ -47,9 +47,10 @@ __attribute__((weak_import)) // CHECK: @"OBJC_CLASS_$_NSURLQueryItem" = extern_weak global // rdar://17633301 -@interface AVScheduledAudioParameters @end // isWeakImported is true!! +__attribute__((visibility("default"))) __attribute__((availability(ios,introduced=9876.5))) +@interface AVScheduledAudioParameters @end -@interface XXXX : AVScheduledAudioParameters // is isWeakImported() true +@interface XXXX : AVScheduledAudioParameters @end @implementation AVScheduledAudioParameters @end -- 2.50.1