| 1 |
typedef int I; |
| 2 |
|
| 3 |
int f(float I = 0.0, int b = I(2)); // { dg-error "parameter" } |
| 4 |
int g(int b = I(2), float I = 0.0); |
| 5 |
|
| 6 |
struct A |
| 7 |
{ |
| 8 |
int f(float I = 0.0, int b = I(2)); // { dg-error "parameter" } |
| 9 |
int g(int b = I(2), float I = 0.0); |
| 10 |
}; |
| 11 |
|