From 7db6a5b55f9da22b73d522731f39dfb71ab2afd9 Mon Sep 17 00:00:00 2001 From: rfm Date: Mon, 5 Aug 2024 14:38:51 +0100 Subject: [PATCH] tests not working for build with olf compiler yet. --- Tests/base/NSKVOSupport/newoldvalues.m | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Tests/base/NSKVOSupport/newoldvalues.m b/Tests/base/NSKVOSupport/newoldvalues.m index d30b472c1..b05c38f97 100644 --- a/Tests/base/NSKVOSupport/newoldvalues.m +++ b/Tests/base/NSKVOSupport/newoldvalues.m @@ -1,6 +1,8 @@ #import #import "ObjectTesting.h" +#if defined(__OBJC2__) + @class Bar; @interface Foo : NSObject @@ -220,3 +222,10 @@ - (void)observeValueForKeyPath:(NSString *)keyPath return 0; } +#else +int +main(int argc, char *argv[]) +{ + return 0; +} +#endif