summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/09_3.c
diff options
context:
space:
mode:
Diffstat (limited to 'reference/C/CONTRIB/OR_PRACTICAL_C/09_3.c')
-rw-r--r--reference/C/CONTRIB/OR_PRACTICAL_C/09_3.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/reference/C/CONTRIB/OR_PRACTICAL_C/09_3.c b/reference/C/CONTRIB/OR_PRACTICAL_C/09_3.c
new file mode 100644
index 0000000..915ada7
--- /dev/null
+++ b/reference/C/CONTRIB/OR_PRACTICAL_C/09_3.c
@@ -0,0 +1,16 @@
+#define BIG_NUMBER 10 ** 10
+
+main()
+{
+ /* index for our calculations */
+ int index;
+
+ index = 0;
+
+ /* syntax error on next line */
+ while (index < BIG_NUMBER) {
+ index = index * 8;
+ }
+ return (0);
+}
+