#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 */
typedef int /*<<< orphan*/ a7;
typedef int /*<<< orphan*/ a6;
typedef int /*<<< orphan*/ a5;
typedef int /*<<< orphan*/ a4;
typedef int /*<<< orphan*/ a3;
typedef int /*<<< orphan*/ a2;
typedef int /*<<< orphan*/ a1;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, int);
int main() {
  int a1[5] = {};
  printf(" %d \n", sizeof(a1));
  int a2[10] = {2.4, 5.6, 7.3};
  printf(" %d\n", sizeof(a2));
  int a3[3] = {1, 2, 3, 4, 5};
  printf(" %d\n", sizeof(a3));
  int a4[0] = {};
  printf(" %d \n", sizeof(a4));
  int a5[0] = {1, 2, 3, 4, 5};
  printf(" %d \n", sizeof(a5));
  int a6[] = {};
  printf(" %d \n", sizeof(a6));
  int a7['a'];
  printf(" %d \n", sizeof(a7));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1f0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x20(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1040 <memset@plt>
lea    0xeb7(%rip),%rdi
mov    $0x14,%esi
call   1030 <printf@plt>
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movl   $0x2,-0x50(%rbp)
movl   $0x5,-0x4c(%rbp)
movl   $0x7,-0x48(%rbp)
lea    0xe87(%rip),%rdi
mov    $0x28,%esi
call   1030 <printf@plt>
mov    0xe7c(%rip),%rax
mov    %rax,-0x5c(%rbp)
mov    0xe7a(%rip),%eax
mov    %eax,-0x54(%rbp)
lea    0xe62(%rip),%rdi
mov    $0xc,%esi
call   1030 <printf@plt>
lea    0xe4b(%rip),%rdi
xor    %esi,%esi
call   1030 <printf@plt>
lea    0xe3d(%rip),%rdi
xor    %esi,%esi
call   1030 <printf@plt>
lea    0xe2f(%rip),%rdi
xor    %esi,%esi
call   1030 <printf@plt>
lea    0xe21(%rip),%rdi
mov    $0x184,%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x1f0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xee5(%rip),%rbx
mov    %rbx,%rdi
mov    $0x14,%esi
call   1030 <printf@plt>
lea    0xed7(%rip),%r14
mov    %r14,%rdi
mov    $0x28,%esi
call   1030 <printf@plt>
mov    %r14,%rdi
mov    $0xc,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x184,%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [6 x i8] c" %d \0A\00"
@.str.1 = [5 x i8] c" %d\0A\00"
@__const.main.a3 = [3 x i32] [i32 1, i32 2, i32 3]
define i32 @main() {
%1 = alloca i32
%2 = alloca [5 x i32]
%3 = alloca [10 x i32]
%4 = alloca [3 x i32]
%5 = alloca [0 x i32]
%6 = alloca [0 x i32]
%7 = alloca [0 x i32]
%8 = alloca [97 x i32]
store i32 0, i32* %1
%9 = bitcast [5 x i32]* %2 to i8*
%10 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 20)
%11 = bitcast [10 x i32]* %3 to i8*
%12 = bitcast i8* %11 to [10 x i32]*
%13 = getelementptr inbounds [10 x i32], [10 x i32]* %12, i32 0, i32 0
store i32 2, i32* %13
%14 = getelementptr inbounds [10 x i32], [10 x i32]* %12, i32 0, i32 1
store i32 5, i32* %14
%15 = getelementptr inbounds [10 x i32], [10 x i32]* %12, i32 0, i32 2
store i32 7, i32* %15
%16 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 40)
%17 = bitcast [3 x i32]* %4 to i8*
%18 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 12)
%19 = bitcast [0 x i32]* %5 to i8*
%20 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 0)
%21 = bitcast [0 x i32]* %6 to i8*
%22 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 0)
%23 = bitcast [0 x i32]* %7 to i8*
%24 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 0)
%25 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 388)
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c" %d \0A\00"
@.str.1 = [5 x i8] c" %d\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 20)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 40)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 12)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 0)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 0)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 0)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 388)
ret i32 0
}