blob: faa04fc5771dc456f5347f5787a5bcdb93dcd113 (
plain)
1
2
3
4
5
6
7
8
|
// Build don't link:
template <class A> class B { public: A a; };
static B<int> b_int;
static B<char> b_char;
static B<unsigned char> b_uchar;
int foo () { return b_int.a + b_char.a + b_uchar.a; }
|