URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [init5.C] - Rev 165
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-pedantic-errors" }
// GROUPS passed initialization
// init file
// From: dcb@us-es.sel.de
// Date: Mon, 12 Oct 92 07:51:52 +0100
// Subject: G++, ARM Page 141
// Message-ID: <9210120651.AA15257@us-es.sel.de>
extern int fred( int);
class X {
public :
void f( int = fred( 0) ) ; // { dg-error "" } previous spec
} ;
void X::f( int x = fred( 0) ) {// { dg-error "" } .*
}
Go to most recent revision | Compare with Previous | Blame | View Log