Commit c1c00983 by Paolo Carlini Committed by Paolo Carlini

re PR c++/49377 (Template specialization attributes cause type mismatches when used)

2016-06-05  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/49377
	* g++.dg/template/pr49377.C: New.

From-SVN: r237098
parent 16e39688
2016-06-05 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/49377
* g++.dg/template/pr49377.C: New.
2016-06-04 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/71405
......
// PR c++/49377
template <typename T, int N> class v;
template <typename T> class v<T,2> {
v() { };
} __attribute__((__may_alias__));
typedef v<float,2> float2;
class a {
void f(float2 &point);
float2 d;
};
void a::f(float2 &point) { }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment