#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*/ test1();
int /*<<< orphan*/ test2();
int /*<<< orphan*/ test_array();
int /*<<< orphan*/ test_array_designator();
int /*<<< orphan*/ test_complex_designator();
int /*<<< orphan*/ test_dup();
int /*<<< orphan*/ test_excessive();
int /*<<< orphan*/ test_literal();
int /*<<< orphan*/ test_nested();
int /*<<< orphan*/ test_primitive();
int /*<<< orphan*/ test_string();
int /*<<< orphan*/ test_struct();
int /*<<< orphan*/ test_struct_anonymous_1();
int /*<<< orphan*/ test_struct_anonymous_2();
int /*<<< orphan*/ test_struct_anonymous_complex();
int /*<<< orphan*/ test_struct_designator();
int /*<<< orphan*/ test_typedef();
int /*<<< orphan*/ test_zero();
int main() {
  test1();
  test2();
  test_literal();
  test_dup();
  test_array();
  test_string();
  test_struct();
  test_primitive();
  test_nested();
  test_array_designator();
  test_struct_designator();
  test_complex_designator();
  test_zero();
  test_typedef();
  test_excessive();
  test_struct_anonymous_1();
  test_struct_anonymous_2();
  test_struct_anonymous_complex();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1090 <test1@plt>
mov    $0x0,%al
call   10e0 <test2@plt>
mov    $0x0,%al
call   1050 <test_literal@plt>
mov    $0x0,%al
call   1080 <test_dup@plt>
mov    $0x0,%al
call   1100 <test_array@plt>
mov    $0x0,%al
call   10c0 <test_string@plt>
mov    $0x0,%al
call   10a0 <test_struct@plt>
mov    $0x0,%al
call   10d0 <test_primitive@plt>
mov    $0x0,%al
call   1030 <test_nested@plt>
mov    $0x0,%al
call   1060 <test_array_designator@plt>
mov    $0x0,%al
call   1070 <test_struct_designator@plt>
mov    $0x0,%al
call   1040 <test_complex_designator@plt>
mov    $0x0,%al
call   1140 <test_zero@plt>
mov    $0x0,%al
call   10f0 <test_typedef@plt>
mov    $0x0,%al
call   1120 <test_excessive@plt>
mov    $0x0,%al
call   1130 <test_struct_anonymous_1@plt>
mov    $0x0,%al
call   10b0 <test_struct_anonymous_2@plt>
mov    $0x0,%al
call   1110 <test_struct_anonymous_complex@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1090 <test1@plt>
xor    %eax,%eax
call   10e0 <test2@plt>
xor    %eax,%eax
call   1050 <test_literal@plt>
xor    %eax,%eax
call   1080 <test_dup@plt>
xor    %eax,%eax
call   1100 <test_array@plt>
xor    %eax,%eax
call   10c0 <test_string@plt>
xor    %eax,%eax
call   10a0 <test_struct@plt>
xor    %eax,%eax
call   10d0 <test_primitive@plt>
xor    %eax,%eax
call   1030 <test_nested@plt>
xor    %eax,%eax
call   1060 <test_array_designator@plt>
xor    %eax,%eax
call   1070 <test_struct_designator@plt>
xor    %eax,%eax
call   1040 <test_complex_designator@plt>
xor    %eax,%eax
call   1140 <test_zero@plt>
xor    %eax,%eax
call   10f0 <test_typedef@plt>
xor    %eax,%eax
call   1120 <test_excessive@plt>
xor    %eax,%eax
call   1130 <test_struct_anonymous_1@plt>
xor    %eax,%eax
call   10b0 <test_struct_anonymous_2@plt>
xor    %eax,%eax
call   1110 <test_struct_anonymous_complex@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @test1()
%3 = call i32 (...) @test2()
%4 = call i32 (...) @test_literal()
%5 = call i32 (...) @test_dup()
%6 = call i32 (...) @test_array()
%7 = call i32 (...) @test_string()
%8 = call i32 (...) @test_struct()
%9 = call i32 (...) @test_primitive()
%10 = call i32 (...) @test_nested()
%11 = call i32 (...) @test_array_designator()
%12 = call i32 (...) @test_struct_designator()
%13 = call i32 (...) @test_complex_designator()
%14 = call i32 (...) @test_zero()
%15 = call i32 (...) @test_typedef()
%16 = call i32 (...) @test_excessive()
%17 = call i32 (...) @test_struct_anonymous_1()
%18 = call i32 (...) @test_struct_anonymous_2()
%19 = call i32 (...) @test_struct_anonymous_complex()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @test1()
%2 = tail call i32 (...) @test2()
%3 = tail call i32 (...) @test_literal()
%4 = tail call i32 (...) @test_dup()
%5 = tail call i32 (...) @test_array()
%6 = tail call i32 (...) @test_string()
%7 = tail call i32 (...) @test_struct()
%8 = tail call i32 (...) @test_primitive()
%9 = tail call i32 (...) @test_nested()
%10 = tail call i32 (...) @test_array_designator()
%11 = tail call i32 (...) @test_struct_designator()
%12 = tail call i32 (...) @test_complex_designator()
%13 = tail call i32 (...) @test_zero()
%14 = tail call i32 (...) @test_typedef()
%15 = tail call i32 (...) @test_excessive()
%16 = tail call i32 (...) @test_struct_anonymous_1()
%17 = tail call i32 (...) @test_struct_anonymous_2()
%18 = tail call i32 (...) @test_struct_anonymous_complex()
ret i32 0
}