mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Rollback global.
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
module const_pointer;
|
||||
|
||||
private global double foo = 17;
|
||||
private global double bar = 12.0;
|
||||
private global float xx = 12.0;
|
||||
private double foo = 17;
|
||||
private double bar = 12.0;
|
||||
private float xx = 12.0;
|
||||
|
||||
private global void*[3] data = { &foo, &bar, &xx };
|
||||
private void*[3] data = { &foo, &bar, &xx };
|
||||
|
||||
// #expect: const_pointer.ll
|
||||
/* #expect: const_pointer.ll
|
||||
|
||||
@const_pointer.foo = protected global double 1.700000e+01, align 8
|
||||
@const_pointer.bar = protected global double 1.200000e+01, align 8
|
||||
|
||||
Reference in New Issue
Block a user