Commit 1e76e76b by Steve Ellcey Committed by Steve Ellcey

re PR c++/27495 (ICE using "." instead of "->")

	PR c++/27495
	* g++.dg/other/pr27495.C: New.

From-SVN: r115558
parent 9c23e505
2006-07-18 Steve Ellcey <sje@cup.hp.com>
PR c++/27495
* g++.dg/other/pr27495.C: New.
2006-07-18 Olivier Hainque <hainque@adacore.com> 2006-07-18 Olivier Hainque <hainque@adacore.com>
* gnat.dg/outer_agg_bitfield_constructor.adb: New test. * gnat.dg/outer_agg_bitfield_constructor.adb: New test.
// Test to make sure we do not ICE on this invalid program.
struct A
{
template<int> void foo();
void bar() { this.A::foo<0>(); } // { dg-error "" }
};
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