aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/5-declarations
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 16:03:00 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 16:03:00 +0330
commit07d8a77563cb82264d7d95de7566c4aa12e51054 (patch)
treea7f177247d2a573439ddb528aa29153b2aa7460c /tests/conformance/5-declarations
parentswitch: case member(): with no names matches a tagged member by tag even when... (diff)
conformance: b.2.8 is documented behavior; keep the conformance run out of test.sh -q; todo notes for the seven fixes
Diffstat (limited to 'tests/conformance/5-declarations')
-rw-r--r--tests/conformance/5-declarations/global_names_global_b8.zc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conformance/5-declarations/global_names_global_b8.zc b/tests/conformance/5-declarations/global_names_global_b8.zc
index 7d678eb..6e11713 100644
--- a/tests/conformance/5-declarations/global_names_global_b8.zc
+++ b/tests/conformance/5-declarations/global_names_global_b8.zc
@@ -1,5 +1,5 @@
// expect: 1/
-// spec 5.3.2 and 3.14.2: a global named in an initializer is its address (appendix b.2.8 calls this a bug)
+// spec 5.3.2 and 3.14.2: a global named in an initializer is its address (documented behavior: the spec wins over appendix b.2.8)
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
int a = 5; int b = a + 1;