|
Last change
on this file was 13020, checked in by Gary Palter, 15 years ago |
|
Add the Objective-C test case for Cocotron issue 405
|
-
Property svn:executable
set to
*
|
|
File size:
460 bytes
|
| Line | |
|---|
| 1 | //
|
|---|
| 2 | // main.m
|
|---|
| 3 | // issue405
|
|---|
| 4 | //
|
|---|
| 5 | // Created by Gary Palter on 9/4/09.
|
|---|
| 6 | // Copyright 2009 Clozure Associates. All rights reserved.
|
|---|
| 7 | //
|
|---|
| 8 |
|
|---|
| 9 | #import <Cocoa/Cocoa.h>
|
|---|
| 10 | #import "Issue405AppDelegate.h"
|
|---|
| 11 |
|
|---|
| 12 | int main(int argc, char *argv[])
|
|---|
| 13 | {
|
|---|
| 14 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
|---|
| 15 |
|
|---|
| 16 | [NSApplication sharedApplication];
|
|---|
| 17 |
|
|---|
| 18 | [NSApp setDelegate:[[[Issue405AppDelegate alloc] init] autorelease]];
|
|---|
| 19 |
|
|---|
| 20 | [NSApp run];
|
|---|
| 21 |
|
|---|
| 22 | [pool release];
|
|---|
| 23 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.