|
@@ -1,5 +1,5 @@
|
|
/* GCC-StarPU
|
|
/* GCC-StarPU
|
|
- Copyright (C) 2011 Institut National de Recherche en Informatique et Automatique
|
|
|
|
|
|
+ Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
|
|
|
|
|
|
GCC-StarPU is free software: you can redistribute it and/or modify
|
|
GCC-StarPU is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
it under the terms of the GNU General Public License as published by
|
|
@@ -18,6 +18,8 @@
|
|
|
|
|
|
#undef NDEBUG
|
|
#undef NDEBUG
|
|
|
|
|
|
|
|
+extern void *void_pointer;
|
|
|
|
+
|
|
int
|
|
int
|
|
main (int argc, char *argv[])
|
|
main (int argc, char *argv[])
|
|
{
|
|
{
|
|
@@ -50,5 +52,7 @@ main (int argc, char *argv[])
|
|
size_t ps = argc;
|
|
size_t ps = argc;
|
|
#pragma starpu register p ps /* No unused variable warning, please! */
|
|
#pragma starpu register p ps /* No unused variable warning, please! */
|
|
|
|
|
|
|
|
+#pragma starpu register void_pointer 123 /* (error "not allowed") */
|
|
|
|
+
|
|
return EXIT_SUCCESS;
|
|
return EXIT_SUCCESS;
|
|
}
|
|
}
|