summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/defarg10.C
blob: bbf9ac04b4bdb6eb2a54d3de069a1caaee00fdc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (C) 2005 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 7 Jun 2005 <nathan@codesourcery.com>

// From java library.

void  Foo (int = 0);

class Klasse
{
  friend void Foo (int);
};