2
Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
4
GCC-StarPU is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 3 of the License, or
7
(at your option) any later version.
9
GCC-StarPU is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with GCC-StarPU. If not, see <http://www.gnu.org/licenses/>. */
19
static const double a[123];
22
main (int argc, char *argv[])
24
#pragma starpu initialize
26
int x[123] __attribute__ ((unused));
27
static char z[345] __attribute__ ((unused));
29
#pragma starpu register x
31
#pragma starpu release /* (error "parse error") */
32
#pragma starpu release 123 /* (error "neither a pointer nor an array") */
33
#pragma starpu release does_not_exit /* (error "unbound variable") */
35
#pragma starpu release argc /* (error "neither a pointer nor an array") */
36
#pragma starpu release y
37
#pragma starpu release x
39
#pragma starpu release x z /* (error "junk after") */