| 1 |
// PR c++/49377 |
| 2 |
|
| 3 |
template <typename T, int N> class v; |
| 4 |
|
| 5 |
template <typename T> class v<T,2> { |
| 6 |
v() { }; |
| 7 |
} __attribute__((__may_alias__)); |
| 8 |
|
| 9 |
typedef v<float,2> float2; |
| 10 |
|
| 11 |
class a { |
| 12 |
void f(float2 &point); |
| 13 |
float2 d; |
| 14 |
}; |
| 15 |
|
| 16 |
void a::f(float2 &point) { } |