921e5a0eb4
From-SVN: r14840
18 lines
238 B
C
18 lines
238 B
C
// Build don't link:
|
|
// GROUPS passed ambiguity
|
|
struct A {
|
|
A (int);
|
|
};
|
|
|
|
struct B {
|
|
B (int);
|
|
};
|
|
|
|
void myfunc (const A& t0); // ERROR -
|
|
void myfunc (const B& t0); // ERROR -
|
|
|
|
int main ()
|
|
{
|
|
myfunc(1); // ERROR - ambiguous call
|
|
}
|