Rollback global.

This commit is contained in:
Christoffer Lerno
2021-11-17 10:37:23 +01:00
parent b52b42d4da
commit 974cd0acc5
44 changed files with 200 additions and 201 deletions

View File

@@ -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