#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ __unitTest_push_in_list(char *, char *, char *, char *);
__attribute__((constructor)) void __unittest_TESTS_16() {
  __unitTest_push_in_list(
      "print args test", "#include <math.h> #include <stdio.h>",
      "void __init__test__(int ac __attribute__((unused)), char **av "
      "__attribute__((unused))) "
      "{ int i; for (i = 1; i < ac; i++) printf(\"%s\\n\", av[i]); }"
      " int main(int ac, char **av) { __init__test__(ac, av); return 0; }",
      "-W -Wall -Wextra -Werror -lm");
  __unitTest_push_in_list(
      "am i dum", "#include <math.h> #include <stdio.h>",
      "void __init__test__(int ac __attribute__((unused)), char **av "
      "__attribute__((unused))) "
      "{ goto *0; }"
      " int main(int ac, char **av) { __init__test__(ac, av); return 0; }",
      "-W -Wall -Wextra -Werror -lm");
}


x86 assembly (clang, -O0):
<__unittest_TESTS_16>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xeee(%rip),%rsi
lea    0xf0c(%rip),%rdx
lea    0xfd9(%rip),%rcx
call   1030 <__unitTest_push_in_list@plt>
lea    0xfea(%rip),%rdi
lea    0xecd(%rip),%rsi
lea    0xfe5(%rip),%rdx
lea    0xfb8(%rip),%rcx
call   1030 <__unitTest_push_in_list@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<__unittest_TESTS_16>:
push   %r14
push   %rbx
push   %rax
lea    0xee5(%rip),%rdi
lea    0xeee(%rip),%rbx
lea    0xf0c(%rip),%rdx
lea    0xfd9(%rip),%r14
mov    %rbx,%rsi
mov    %r14,%rcx
call   1030 <__unitTest_push_in_list@plt>
lea    0xfe4(%rip),%rdi
lea    0xfe6(%rip),%rdx
mov    %rbx,%rsi
mov    %r14,%rcx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <__unitTest_push_in_list@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"print args test\00"
@.str.1 = [37 x i8] c"#include <math.h> #include <stdio.h>\00"
@.str.2 = [212 x i8] c"void __init__test__(int ac __attribute__((unused)), char **av __attribute__((unused))) { int i; for (i = 1; i < ac; i++) printf(\22%s\\n\22, av[i]); } int main(int ac, char **av) { __init__test__(ac, av); return 0; }\00"
@.str.3 = [29 x i8] c"-W -Wall -Wextra -Werror -lm\00"
@.str.4 = [9 x i8] c"am i dum\00"
@.str.5 = [166 x i8] c"void __init__test__(int ac __attribute__((unused)), char **av __attribute__((unused))) { goto *0; } int main(int ac, char **av) { __init__test__(ac, av); return 0; }\00"
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @__unittest_TESTS_16, i8* null }]
define void @__unittest_TESTS_16() {
%1 = call i32 @__unitTest_push_in_list(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([212 x i8], [212 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
%2 = call i32 @__unitTest_push_in_list(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([166 x i8], [166 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c"print args test\00"
@.str.1 = [37 x i8] c"#include <math.h> #include <stdio.h>\00"
@.str.2 = [212 x i8] c"void __init__test__(int ac __attribute__((unused)), char **av __attribute__((unused))) { int i; for (i = 1; i < ac; i++) printf(\22%s\\n\22, av[i]); } int main(int ac, char **av) { __init__test__(ac, av); return 0; }\00"
@.str.3 = [29 x i8] c"-W -Wall -Wextra -Werror -lm\00"
@.str.4 = [9 x i8] c"am i dum\00"
@.str.5 = [166 x i8] c"void __init__test__(int ac __attribute__((unused)), char **av __attribute__((unused))) { goto *0; } int main(int ac, char **av) { __init__test__(ac, av); return 0; }\00"
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @__unittest_TESTS_16, i8* null }]
define void @__unittest_TESTS_16() {
%1 = tail call i32 @__unitTest_push_in_list(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([212 x i8], [212 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
%2 = tail call i32 @__unitTest_push_in_list(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([166 x i8], [166 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
ret void
}