summaryrefslogtreecommitdiffstats
path: root/test/c18/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c18/main.c')
-rw-r--r--test/c18/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/c18/main.c b/test/c18/main.c
new file mode 100644
index 0000000..2bab570
--- /dev/null
+++ b/test/c18/main.c
@@ -0,0 +1,13 @@
+/* Compile options: -ml (Large code model) */
+
+#include <stdio.h>
+
+#pragma config WDT = OFF
+
+void main (void)
+{
+ printf ("Hello, world!\n");
+
+ while (1)
+ ;
+}