summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/defarg6.C
blob: 827b605b77eca670af45ca654ac5731220b68302 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile }

// Origin: Falk Hueffner <falk@debian.org>

// PR c++/13166: ICE default function argument for friend declaration.

namespace sc_dt {
    class sc_length_param {
	friend int compare_unsigned(int if_v_signed = 0) {}
    };
}