📂 FileMgr
📍
/
opt
/
golang
/
1.22.0
/
src
/
cmd
/
link
/
internal
/
ld
/
testdata
/
issue25459
/
a
✏️ .go
⬅ Kembali
package a const Always = true var Count int type FuncReturningInt func() int var PointerToConstIf FuncReturningInt func ConstIf() int { if Always { return 1 } var imdead [4]int imdead[Count] = 1 return imdead[0] } func CallConstIf() int { Count += 3 return ConstIf() } func Another() { defer func() { PointerToConstIf = ConstIf; Count += 1 }() }
💾 Simpan
Batal
⬅ issue25459
1 item
Nama
Tipe
Ukuran
Diubah
Aksi
🔵
a.go
go
363 B
2024-02-02 18:09
✏️
👁️
🔤
🗑
✏️ Rename
Nama Baru
Simpan
Batal