blob: 7a7c7ff59417502414a999c18f441bee9ab61b5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Build don't link:
template <int I>
struct S {
void g();
};
class C {
static const int i = 3; // gets bogus error - private - XFAIL *-*-*
public:
S<C::i>* f(); // gets bogus error - redeclared - XFAIL *-*-*
};
S<C::i>* C::f() { // gets bogus error - private - XFAIL *-*-*
return 0;
}
|