blob: 9cc0d616d63cf712d290860fc3f25f046bf22828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Build don't link:
// Origin: Jason Merrill <jason@cygnus.com>
struct A { typedef int B; };
template <int B> struct C : public A {
B b;
void f();
};
template <int B>
void C<B>::f() {
B b;
}
|