OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc/] [execute/] [selector-1.m] - Blame information for rev 708

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 702 jeremybenn
/* Contributed by Nicola Pero - Thu Mar  8 16:27:46 CET 2001 */
2
#include <objc/objc.h>
3
#include "../../objc-obj-c++-shared/runtime.h"
4
#include "../../objc-obj-c++-shared/TestsuiteObject.m"
5
 
6
int main (void)
7
{
8
  SEL selector;
9
  char *selname;
10
 
11
  selector = @selector (alloc);
12
  selname = sel_getName (selector);
13
  if (strcmp (selname, "alloc"))
14
    abort ();
15
 
16
  return 0;
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.