blob: 79b6c7a9a5b1a19add0b916e2492425da1bc59c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile }
{ dg-options "-fupc-threads=2" } */
/* The base address of the UPC shared section */
extern char __upc_shared_start[1];
shared [] int *p0;
shared int *p1;
int
main ()
{
return p0 > p1; /* { dg-error "UPC does not allow comparison between pointers to shared with differing block sizes without a cast" } */
}
|