Debian Codegraph @

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

raw
1 // { dg-do compile }
2
3 // Origin: Falk Hueffner <[email protected]>
4
5 // PR c++/13166: ICE default function argument for friend declaration.
6
7 namespace sc_dt {
8 class sc_length_param {
9 friend int compare_unsigned(int if_v_signed = 0) { return 0; }
10 };
11 }