#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_pointers() {
  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",
          18, 8, sizeof(char *));
  ;
  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",
          19, 8, sizeof(short *));
  ;
  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",
          20, 8, sizeof(int *));
  ;
  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",
          21, 8, sizeof(long *));
  ;
}


x86 assembly (clang, -O0):
<test_pointers>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x12,%esi
mov    $0x8,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
lea    0xecd(%rip),%rdi
mov    $0x13,%esi
mov    $0x8,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
lea    0xeb5(%rip),%rdi
mov    $0x14,%esi
mov    $0x8,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
lea    0xe9d(%rip),%rdi
mov    $0x15,%esi
mov    $0x8,%ecx
mov    %ecx,%edx
call   1030 <fexpect@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_pointers>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x8,%edx
mov    $0x8,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x13,%esi
mov    $0x8,%edx
mov    $0x8,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x14,%esi
mov    $0x8,%edx
mov    $0x8,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x15,%esi
mov    $0x8,%edx
mov    $0x8,%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_pointers() {
%1 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 18, i32 8, i32 8)
%2 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 19, i32 8, i32 8)
%3 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 20, i32 8, i32 8)
%4 = call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 21, i32 8, i32 8)
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_pointers() {
%1 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 18, i32 8, i32 8)
%2 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 19, i32 8, i32 8)
%3 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 20, i32 8, i32 8)
%4 = tail call i32 @fexpect(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str, i64 0, i64 0), i32 21, i32 8, i32 8)
ret void
}