aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/macosx/nslog/main.m
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/macosx/nslog/main.m')
-rw-r--r--packages/Python/lldbsuite/test/macosx/nslog/main.m18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/macosx/nslog/main.m b/packages/Python/lldbsuite/test/macosx/nslog/main.m
new file mode 100644
index 000000000000..dab4089e9273
--- /dev/null
+++ b/packages/Python/lldbsuite/test/macosx/nslog/main.m
@@ -0,0 +1,18 @@
+//===-- main.m --------------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include <Foundation/Foundation.h>
+
+int main(int argc, char** argv)
+{
+ printf("About to log\n"); // break here
+ NSLog(@"This is a message from NSLog");
+
+ return 0;
+}