#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*/ fexpect(char *, int, int, int);
void test_arrays() {
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/input/8cc/"
          "sizeof.c",
          41, 1, sizeof(char[1]));
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/input/8cc/"
          "sizeof.c",
          42, 7, sizeof(char[7]));
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/input/8cc/"
          "sizeof.c",
          43, 30, sizeof(char[3][10]));
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/input/8cc/"
          "sizeof.c",
          44, 32, sizeof(int[4][2]));
  ;
}


x86 assembly (clang, -O0):
<test_arrays>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x29,%esi
mov    $0x1,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
lea    0xecd(%rip),%rdi
mov    $0x2a,%esi
mov    $0x7,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
lea    0xeb5(%rip),%rdi
mov    $0x2b,%esi
mov    $0x1e,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
lea    0xe9d(%rip),%rdi
mov    $0x2c,%esi
mov    $0x20,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_arrays>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x29,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x2a,%esi
mov    $0x7,%edx
mov    $0x7,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x2b,%esi
mov    $0x1e,%edx
mov    $0x1e,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x2c,%esi
mov    $0x20,%edx
mov    $0x20,%ecx
pop    %rbx
jmp    1030 <fexpect@plt>

LLVM IR (-O0):
@.str = [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/input/8cc/sizeof.c\00"
define void @test_arrays() {
%1 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 41, i32 1, i32 1)
%2 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 42, i32 7, i32 7)
%3 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 43, i32 30, i32 30)
%4 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 44, i32 32, i32 32)
ret void
}

LLVM IR (-O2):
@.str = [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/input/8cc/sizeof.c\00"
define void @test_arrays() {
%1 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 41, i32 1, i32 1)
%2 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 42, i32 7, i32 7)
%3 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 43, i32 30, i32 30)
%4 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 44, i32 32, i32 32)
ret void
}