File: test_ptrarr.pro

package info (click to toggle)
gnudatalanguage 0.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,228 kB
  • ctags: 11,455
  • sloc: cpp: 143,352; makefile: 426; sh: 103; ansic: 44; awk: 18; python: 6
file content (17 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;
; bug 3573202 reported by Cokhavim
;
pro TEST_PTRARR
;
p=PTRARR(2,2,/allocate_heap)
i=1
j=0
*p[i,j] = [3,2,5]
;
pp=PTRARR(2,2,/allocate_heap)
*pp[1,0] = [3,2,5]
;
ppp=PTRARR(2,2,/allocate_heap)
*ppp[1,0] = DIST(128)
;
end