#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*/ test_adds_comma_between_array_and_primitive_attribute();
int /*<<< orphan*/ test_adds_comma_between_object_and_primitive_attribute();
int /*<<< orphan*/ test_array_elements_do_not_have_names();
int /*<<< orphan*/ test_empty_arrays();
int /*<<< orphan*/ test_empty_document();
int /*<<< orphan*/ test_empty_objects();
int /*<<< orphan*/ test_ignores_attribute_name_for_array_elements();
int /*<<< orphan*/ test_new_object_opens_new_scope_for_attributes();
int /*<<< orphan*/ test_no_comma_before_first_attribute();
int /*<<< orphan*/ test_separates_attributes_with_commas();
int main(void) {
  test_empty_document();
  test_no_comma_before_first_attribute();
  test_separates_attributes_with_commas();
  test_array_elements_do_not_have_names();
  test_new_object_opens_new_scope_for_attributes();
  test_adds_comma_between_object_and_primitive_attribute();
  test_empty_objects();
  test_empty_arrays();
  test_ignores_attribute_name_for_array_elements();
  test_adds_comma_between_array_and_primitive_attribute();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1070 <test_empty_document@plt>
mov    $0x0,%al
call   1080 <test_no_comma_before_first_attribute@plt>
mov    $0x0,%al
call   10b0 <test_separates_attributes_with_commas@plt>
mov    $0x0,%al
call   10a0 <test_array_elements_do_not_have_names@plt>
mov    $0x0,%al
call   1060 <test_new_object_opens_new_scope_for_attributes@plt>
mov    $0x0,%al
call   1090 <test_adds_comma_between_object_and_primitive_attribute@plt>
mov    $0x0,%al
call   1030 <test_empty_objects@plt>
mov    $0x0,%al
call   1040 <test_empty_arrays@plt>
mov    $0x0,%al
call   1050 <test_ignores_attribute_name_for_array_elements@plt>
mov    $0x0,%al
call   10c0 <test_adds_comma_between_array_and_primitive_attribute@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1070 <test_empty_document@plt>
xor    %eax,%eax
call   1080 <test_no_comma_before_first_attribute@plt>
xor    %eax,%eax
call   10b0 <test_separates_attributes_with_commas@plt>
xor    %eax,%eax
call   10a0 <test_array_elements_do_not_have_names@plt>
xor    %eax,%eax
call   1060 <test_new_object_opens_new_scope_for_attributes@plt>
xor    %eax,%eax
call   1090 <test_adds_comma_between_object_and_primitive_attribute@plt>
xor    %eax,%eax
call   1030 <test_empty_objects@plt>
xor    %eax,%eax
call   1040 <test_empty_arrays@plt>
xor    %eax,%eax
call   1050 <test_ignores_attribute_name_for_array_elements@plt>
xor    %eax,%eax
call   10c0 <test_adds_comma_between_array_and_primitive_attribute@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @test_empty_document()
%3 = call i32 (...) @test_no_comma_before_first_attribute()
%4 = call i32 (...) @test_separates_attributes_with_commas()
%5 = call i32 (...) @test_array_elements_do_not_have_names()
%6 = call i32 (...) @test_new_object_opens_new_scope_for_attributes()
%7 = call i32 (...) @test_adds_comma_between_object_and_primitive_attribute()
%8 = call i32 (...) @test_empty_objects()
%9 = call i32 (...) @test_empty_arrays()
%10 = call i32 (...) @test_ignores_attribute_name_for_array_elements()
%11 = call i32 (...) @test_adds_comma_between_array_and_primitive_attribute()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @test_empty_document()
%2 = tail call i32 (...) @test_no_comma_before_first_attribute()
%3 = tail call i32 (...) @test_separates_attributes_with_commas()
%4 = tail call i32 (...) @test_array_elements_do_not_have_names()
%5 = tail call i32 (...) @test_new_object_opens_new_scope_for_attributes()
%6 = tail call i32 (...) @test_adds_comma_between_object_and_primitive_attribute()
%7 = tail call i32 (...) @test_empty_objects()
%8 = tail call i32 (...) @test_empty_arrays()
%9 = tail call i32 (...) @test_ignores_attribute_name_for_array_elements()
%10 = tail call i32 (...) @test_adds_comma_between_array_and_primitive_attribute()
ret i32 0
}