Call [Object class], not [Object initialize]
authorNicola Pero <n.pero@mi.flashnet.it>
Sun, 1 Sep 2002 11:20:59 +0000 (13:20 +0200)
committerNicola Pero <nicola@gcc.gnu.org>
Sun, 1 Sep 2002 11:20:59 +0000 (11:20 +0000)
From-SVN: r56721

gcc/testsuite/ChangeLog
gcc/testsuite/objc/execute/class-tests-1.h

index 8369762497c9d5b323eb986c81887df2aa08eb06..78f4a950e97957602c81f3cd83f7bcc76287852c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep  1 12:47:39 2002  Nicola Pero  <n.pero@mi.flashnet.it>
+
+       * objc/execute/class-tests-1.h (test_class_with_superclass): Call
+       [Object class], not [Object initialize].
+
 2002-08-31  Roger Sayle  <roger@eyesopen.com>
            Hans-Peter Nilsson  <hp@bitrange.com>
 
index f321df4f33573c6ccb71141e0a5ce2dfbcf07d43..8362006ef72e009df60a5cb6d73ac0bf10365efb 100644 (file)
@@ -113,7 +113,7 @@ void test_class_with_superclass (const char *class_name,
 
   /* We need at least a method call before playing with the internals, 
      so that the runtime will call __objc_resolve_class_links () */
-  [Object initialize];
+  [Object class];
 
   /* class_name must be an existing class */
   class = objc_lookup_class (class_name);