mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
13 lines
176 B
Plaintext
13 lines
176 B
Plaintext
module test;
|
|
|
|
fn void clone_test() @test
|
|
{
|
|
double x;
|
|
void *a = @clone(x);
|
|
free(a);
|
|
(void)@tclone(x);
|
|
a = @clone_aligned(x);
|
|
free_aligned(a);
|
|
(void)@tclone_aligned(x);
|
|
}
|