+2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * objc.dg/nested-func-1.m: Move to ...
+ * objc/execute/nested-func-1.m: Here.
+
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
* lib/objc.exp (objc_target_compile): Check for -fgnu-runtime
+++ /dev/null
-/* Test basic nested C function functionality within ObjC
- methods. */
-/* Contributed by Ziemowit Laski <zlaski@apple.com>. */
-/* { dg-options "-lobjc" } */
-/* { dg-do run } */
-#include <stdio.h>
-#include <stdlib.h>
-#include <objc/objc.h>
-#include <objc/Object.h>
-
-int bappy (int (*blargh) (int a, int b, int c))
-{
- return blargh (4, 7, 2) + 3;
-}
-
-@interface Foo: Object
-+ (int)foo;
-@end
-
-@implementation Foo
-+ (int)foo
-{
- int blargh (int a, int b, int c)
- {
- return a * b + c;
- }
- return bappy (blargh);
-}
-@end
-
-int main ()
-{
- int f = [Foo foo];
- if (f != 33)
- abort ();
-
- return 0;
-}
--- /dev/null
+/* Test basic nested C function functionality within ObjC
+ methods. */
+/* Contributed by Ziemowit Laski <zlaski@apple.com>. */
+#include <stdio.h>
+#include <stdlib.h>
+#include <objc/objc.h>
+#include <objc/Object.h>
+
+int bappy (int (*blargh) (int a, int b, int c))
+{
+ return blargh (4, 7, 2) + 3;
+}
+
+@interface Foo: Object
++ (int)foo;
+@end
+
+@implementation Foo
++ (int)foo
+{
+ int blargh (int a, int b, int c)
+ {
+ return a * b + c;
+ }
+ return bappy (blargh);
+}
+@end
+
+int main ()
+{
+ int f = [Foo foo];
+ if (f != 33)
+ abort ();
+
+ return 0;
+}