blob: 2da6dd9bbbff1244fb029ecfd0843d50a25844f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Build don't link:
template <int I>
void f()
{
class C { public: int c; };
struct S {
void g() {
C e;
e.c = 3;
};
};
S s;
s.g();
}
template void f<7>();
|