Commit d427aa2e by Kai Tietz Committed by Kai Tietz

re PR c++/61198 (Crash when selecting specializations through aliases.)

	PR c++/61198
	* g++.dg/template/using30.C: New file.

From-SVN: r218956
parent b00f4f15
2014-12-19 Kai Tietz <ktietz@redhat.com>
PR c++/61198
* g++.dg/template/using30.C: New file.
2014-12-19 Martin Liska <mliska@suse.cz>
PR ipa/63569
......
// { dg-do compile }
// PR/61198
template<int herp, typename derp_t>
struct broken
{
template<typename target_t>
using rebind = broken<herp, target_t>;
};
template<typename derp_t>
struct broken<2, derp_t>
{
template<typename target_t>
using rebind = broken<2, target_t>;
};
int main(int argc, char **argv)
{
broken<2, float>::rebind<double> u;
return 0;
}
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