#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*/ print(char *);
int /*<<< orphan*/ test_array();
int /*<<< orphan*/ test_array_designator();
int /*<<< orphan*/ test_complex_designator();
int /*<<< orphan*/ test_excessive();
int /*<<< orphan*/ test_nested();
int /*<<< orphan*/ test_primitive();
int /*<<< orphan*/ test_string();
int /*<<< orphan*/ test_struct();
int /*<<< orphan*/ test_struct_designator();
int /*<<< orphan*/ test_typedef();
int /*<<< orphan*/ test_zero();
void testmain() {
  print("initializer");
  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();
}


x86 assembly (clang, -O0):
<testmain>:
push   %rbp
mov    %rsp,%rbp
lea    0xe35(%rip),%rdi
call   1080 <print@plt>
mov    $0x0,%al
call   10c0 <test_array@plt>
mov    $0x0,%al
call   1090 <test_string@plt>
mov    $0x0,%al
call   1070 <test_struct@plt>
mov    $0x0,%al
call   10a0 <test_primitive@plt>
mov    $0x0,%al
call   1030 <test_nested@plt>
mov    $0x0,%al
call   1050 <test_array_designator@plt>
mov    $0x0,%al
call   1060 <test_struct_designator@plt>
mov    $0x0,%al
call   1040 <test_complex_designator@plt>
mov    $0x0,%al
call   10e0 <test_zero@plt>
mov    $0x0,%al
call   10b0 <test_typedef@plt>
mov    $0x0,%al
call   10d0 <test_excessive@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<testmain>:
push   %rax
lea    0xe38(%rip),%rdi
call   1080 <print@plt>
xor    %eax,%eax
call   10c0 <test_array@plt>
xor    %eax,%eax
call   1090 <test_string@plt>
xor    %eax,%eax
call   1070 <test_struct@plt>
xor    %eax,%eax
call   10a0 <test_primitive@plt>
xor    %eax,%eax
call   1030 <test_nested@plt>
xor    %eax,%eax
call   1050 <test_array_designator@plt>
xor    %eax,%eax
call   1060 <test_struct_designator@plt>
xor    %eax,%eax
call   1040 <test_complex_designator@plt>
xor    %eax,%eax
call   10e0 <test_zero@plt>
xor    %eax,%eax
call   10b0 <test_typedef@plt>
xor    %eax,%eax
pop    %rcx
jmp    10d0 <test_excessive@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"initializer\00"
define void @testmain() {
%1 = call i32 @print(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (...) @test_array()
%3 = call i32 (...) @test_string()
%4 = call i32 (...) @test_struct()
%5 = call i32 (...) @test_primitive()
%6 = call i32 (...) @test_nested()
%7 = call i32 (...) @test_array_designator()
%8 = call i32 (...) @test_struct_designator()
%9 = call i32 (...) @test_complex_designator()
%10 = call i32 (...) @test_zero()
%11 = call i32 (...) @test_typedef()
%12 = call i32 (...) @test_excessive()
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"initializer\00"
define void @testmain() {
%1 = tail call i32 @print(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (...) @test_array()
%3 = tail call i32 (...) @test_string()
%4 = tail call i32 (...) @test_struct()
%5 = tail call i32 (...) @test_primitive()
%6 = tail call i32 (...) @test_nested()
%7 = tail call i32 (...) @test_array_designator()
%8 = tail call i32 (...) @test_struct_designator()
%9 = tail call i32 (...) @test_complex_designator()
%10 = tail call i32 (...) @test_zero()
%11 = tail call i32 (...) @test_typedef()
%12 = tail call i32 (...) @test_excessive()
ret void
}