blob: ded292c600a18aa184d8d277c58cc603256a7a71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Function definition has UPC shared qualified return type.
{ dg-do compile }
{ dg-options "-fupc-threads=2" } */
/* The base address of the UPC shared section */
extern char __upc_shared_start[1];
shared int return_shared_int (void) /* { dg-error "function definition has UPC shared qualified return type" } */
{
return 0;
}
|