#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(char *, char *);
void TEST_cpp_predefined_macros(void) {
  test("1", "__8CC__");
  test("\"Jan 05 1980\"", "__DATE__");
  test("\"17:55:02\"", "__TIME__");
  test("\"-\"", "__FILE__");
  test("1", "__LINE__");
  test("1", "__STDC__");
  test("1", "__STDC_HOSTED__");
  test("199901", "__STDC_VERSION__");
}


x86 assembly (clang, -O0):
<TEST_cpp_predefined_macros>:
push   %rbp
mov    %rsp,%rbp
lea    0xf4c(%rip),%rdi
lea    0xede(%rip),%rsi
call   1030 <test@plt>
lea    0xeda(%rip),%rdi
lea    0xee1(%rip),%rsi
call   1030 <test@plt>
lea    0xede(%rip),%rdi
lea    0xee2(%rip),%rsi
call   1030 <test@plt>
lea    0xedf(%rip),%rdi
lea    0xedc(%rip),%rsi
call   1030 <test@plt>
lea    0xf00(%rip),%rdi
lea    0xed2(%rip),%rsi
call   1030 <test@plt>
lea    0xeed(%rip),%rdi
lea    0xec8(%rip),%rsi
call   1030 <test@plt>
lea    0xeda(%rip),%rdi
lea    0xebe(%rip),%rsi
call   1030 <test@plt>
lea    0xec2(%rip),%rdi
lea    0xec2(%rip),%rsi
call   1030 <test@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<TEST_cpp_predefined_macros>:
push   %rbx
lea    0xf4f(%rip),%rbx
lea    0xee1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <test@plt>
lea    0xeda(%rip),%rdi
lea    0xee1(%rip),%rsi
call   1030 <test@plt>
lea    0xede(%rip),%rdi
lea    0xee2(%rip),%rsi
call   1030 <test@plt>
lea    0xedf(%rip),%rdi
lea    0xedc(%rip),%rsi
call   1030 <test@plt>
lea    0xed9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <test@plt>
lea    0xed3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <test@plt>
lea    0xecd(%rip),%rsi
mov    %rbx,%rdi
call   1030 <test@plt>
lea    0xece(%rip),%rdi
lea    0xece(%rip),%rsi
pop    %rbx
jmp    1030 <test@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"1\00"
@.str.1 = [8 x i8] c"__8CC__\00"
@.str.2 = [14 x i8] c"\22Jan 05 1980\22\00"
@.str.3 = [9 x i8] c"__DATE__\00"
@.str.4 = [11 x i8] c"\2217:55:02\22\00"
@.str.5 = [9 x i8] c"__TIME__\00"
@.str.6 = [4 x i8] c"\22-\22\00"
@.str.7 = [9 x i8] c"__FILE__\00"
@.str.8 = [9 x i8] c"__LINE__\00"
@.str.9 = [9 x i8] c"__STDC__\00"
@.str.10 = [16 x i8] c"__STDC_HOSTED__\00"
@.str.11 = [7 x i8] c"199901\00"
@.str.12 = [17 x i8] c"__STDC_VERSION__\00"
define void @TEST_cpp_predefined_macros() {
%1 = call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @test(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%4 = call i32 @test(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%5 = call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%6 = call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%7 = call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%8 = call i32 @test(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"1\00"
@.str.1 = [8 x i8] c"__8CC__\00"
@.str.2 = [14 x i8] c"\22Jan 05 1980\22\00"
@.str.3 = [9 x i8] c"__DATE__\00"
@.str.4 = [11 x i8] c"\2217:55:02\22\00"
@.str.5 = [9 x i8] c"__TIME__\00"
@.str.6 = [4 x i8] c"\22-\22\00"
@.str.7 = [9 x i8] c"__FILE__\00"
@.str.8 = [9 x i8] c"__LINE__\00"
@.str.9 = [9 x i8] c"__STDC__\00"
@.str.10 = [16 x i8] c"__STDC_HOSTED__\00"
@.str.11 = [7 x i8] c"199901\00"
@.str.12 = [17 x i8] c"__STDC_VERSION__\00"
define void @TEST_cpp_predefined_macros() {
%1 = tail call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @test(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%4 = tail call i32 @test(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%5 = tail call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%7 = tail call i32 @test(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%8 = tail call i32 @test(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0))
ret void
}