Debian Codegraph @

gcc/testsuite/g++.dg/parse/defarg2.C

raw
1 // { dg-do compile }
2
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 4 Jan 2003 <[email protected]>
5
6 // We erroneously prohibited default args on parenthesized function
7 // declarations.
8
9 void (foo)(int i = 0);