blob: c1d647b1b058ae72f4183fca2bfb6638c8bcc4fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// { 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 "" } .*
}
|