File: test_ptrarr.pro

package info (click to toggle)
gnudatalanguage 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80,832 kB
  • sloc: cpp: 198,435; ansic: 47,740; sh: 691; python: 474; makefile: 149; xml: 69; f90: 28
file content (17 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (8)
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