aboutsummaryrefslogtreecommitdiff
path: root/samples/Objective-C/hello.m
diff options
context:
space:
mode:
Diffstat (limited to 'samples/Objective-C/hello.m')
-rw-r--r--samples/Objective-C/hello.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/samples/Objective-C/hello.m b/samples/Objective-C/hello.m
new file mode 100644
index 0000000..1968d76
--- /dev/null
+++ b/samples/Objective-C/hello.m
@@ -0,0 +1,7 @@
+#import <Cocoa/Cocoa.h>
+
+int main(int argc, char *argv[])
+{
+ NSLog(@"Hello, World!\n");
+ return 0;
+}