blob: 542921c5738fb53aea124f1d6534fb1fa81dc801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Build don't link:
// prms-id: 8460
class A {
public:
A();
A(int) { }
A(const A&) { }
private:
};
main()
{
A a;
a.A(1); // ERROR - cannot find name this way
}
|