mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Complete transition to fn. Introduce global/threadlocal
This commit is contained in:
committed by
Christoffer Lerno
parent
e2621617f1
commit
b52b42d4da
@@ -2,11 +2,11 @@
|
||||
|
||||
module const_pointer;
|
||||
|
||||
private double foo = 17;
|
||||
private double bar = 12.0;
|
||||
private float xx = 12.0;
|
||||
private global double foo = 17;
|
||||
private global double bar = 12.0;
|
||||
private global float xx = 12.0;
|
||||
|
||||
private void*[3] data = { &foo, &bar, &xx };
|
||||
private global void*[3] data = { &foo, &bar, &xx };
|
||||
|
||||
// #expect: const_pointer.ll
|
||||
|
||||
|
||||
Reference in New Issue
Block a user