Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / other / pr31078.C
blob3ea1af25042e2325f092e911ebe8a5baa21b6996
1 typedef int SLONG __attribute__((mode (__SI__)));
3 typedef char SCHAR;
4 typedef short SSHORT;
5 typedef char TEXT;
6 typedef long ISC_STATUS;
7 const SLONG gds_arg_string = 2;
8 const SLONG gds_sys_request = 335544373L;
9 enum jrd_blk_t
11     type_str, type_dcc, type_sbm, type_smb, type_blb, type_irb, type_jrn
13 struct blk
16 template < class RPT, SSHORT BLOCK_TYPE = 0 > class pool_alloc_rpt:public blk
19 class jrn:public pool_alloc_rpt < SCHAR, type_jrn >
21 public:ISC_STATUS * jrn_status_vector;
22   TEXT jrn_server[1];
24 typedef jrn *JRN;
25 extern void IBERR_build_status (ISC_STATUS *, ISC_STATUS, ...);
26 static void
27 error (ISC_STATUS * status_vector, JRN journal, int status, TEXT * string)
29   IBERR_build_status (status_vector, gds_sys_request, gds_arg_string, string,
30                       gds_arg_string, (journal) ? journal->jrn_server : "",
31                       0);