aboutsummaryrefslogtreecommitdiff
path: root/libgomp/openacc.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2015-05-09 00:50:35 -0400
committerJason Merrill <jason@gcc.gnu.org>2015-05-09 00:50:35 -0400
commit1be0899d946246574f623e95a2252e743d4a3188 (patch)
tree635fcce1f6a54233ad010ff64f581e15382aca04 /libgomp/openacc.h
parentf8356d52f287fd658471e91ce0089d89f6f17472 (diff)
downloadgcc-1be0899d946246574f623e95a2252e743d4a3188.zip
gcc-1be0899d946246574f623e95a2252e743d4a3188.tar.gz
gcc-1be0899d946246574f623e95a2252e743d4a3188.tar.bz2
openacc.h (__GOACC_NOTHROW): Fix noexcept syntax.
* openacc.h (__GOACC_NOTHROW): Fix noexcept syntax. * testsuite/libgomp.oacc-c-c++-common/reduction-4.c (main): Use _Complex. From-SVN: r222966
Diffstat (limited to 'libgomp/openacc.h')
-rw-r--r--libgomp/openacc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/openacc.h b/libgomp/openacc.h
index 33432411..44a1526 100644
--- a/libgomp/openacc.h
+++ b/libgomp/openacc.h
@@ -39,7 +39,7 @@ extern "C" {
#endif
#if __cplusplus >= 201103
-# define __GOACC_NOTHROW noexcept ()
+# define __GOACC_NOTHROW noexcept
#elif __cplusplus
# define __GOACC_NOTHROW throw ()
#else /* Not C++ */