// #target: macos-x64
module test;
import std::io;

fn void main()
{
    var $s1 = $stringify(1 + 2);
    char[*] s2 = $stringify($s1);
    char[] s3 = $s1;

    io::printfn("$s1 == %s", $s1);
    io::printfn("s2 == %s", &s2);
    io::printfn("s3 == %s", s3);
}

/* #expect: test.ll

c"$s1\00", align 1
c"1 + 2\00", align 1
c"1 + 2\00", align 1