blob: c39a819c72328c367c6610b4b8487466f6b32daa [file] [log] [blame]
typedef int I;
int f(float I = 0.0, int b = I(2)); // { dg-error "parameter" }
int g(int b = I(2), float I = 0.0);
struct A
{
int f(float I = 0.0, int b = I(2)); // { dg-error "parameter" }
int g(int b = I(2), float I = 0.0);
};