# "TODO: lack of comptime function call memoization changes the compile log output"
#skip x86_64-linux-none-baseline-incremental-selfhosted-debug

#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
fn Foo(comptime T: type) type {
    @compileLog(@typeName(T));
    return T;
}
export fn entry() void {
    _ = Foo(i32);
    _ = @typeName(Foo(i32));
}
#}
#update
#check errors {
test.zig:2:5: error: found compile log statement

Compile Log Output:
@as(*const [3:0]u8, "i32")
#}
