Fix libgomp.oacc-c-c++-common/pr84217.c for C++
* testsuite/libgomp.oacc-c-c++-common/pr84217.c (abort) [__cplusplus]: Declare extern "C". From-SVN: r257457
This commit is contained in:
parent
0d7d8e66e4
commit
f320fdfd22
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-02-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* testsuite/libgomp.oacc-c-c++-common/pr84217.c (abort)
|
||||
[__cplusplus]: Declare extern "C".
|
||||
|
||||
2018-02-07 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR libgomp/84217
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
extern void abort (void);
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
#endif
|
||||
void abort (void);
|
||||
|
||||
#define N 10
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue