summaryrefslogtreecommitdiff
path: root/tests/analysis/disass/h2.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-02-21 20:33:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-02-21 20:33:20 (GMT)
commitd6bf56e4a75be0fe0946189a42dd7baecb399903 (patch)
tree4fe89b83cd353c894a9214c063551ca225740c31 /tests/analysis/disass/h2.c
parentd992b4ae5a35954d4fda460735f6dc861ae7bd26 (diff)
Fixed a little mistake introduced in 7fc86b40.
Diffstat (limited to 'tests/analysis/disass/h2.c')
-rw-r--r--tests/analysis/disass/h2.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/analysis/disass/h2.c b/tests/analysis/disass/h2.c
new file mode 100644
index 0000000..fe77341
--- /dev/null
+++ b/tests/analysis/disass/h2.c
@@ -0,0 +1,36 @@
+
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ int i;
+ int j;
+
+ for (i = 0; i < argc; i++)
+ {
+ printf("arg[%d]: %s\n", i, argv[i]);
+
+ for (j = 0; j < i; j++)
+ {
+ printf(".");
+
+#if 1
+ if (argc > 2)
+ printf("!");
+ else
+ printf("#");
+
+ printf(".");
+#endif
+
+ }
+
+ printf("\n");
+
+ }
+
+ printf("Hello\n");
+
+ return 0;
+
+}