Commit 96f3a5d2 by Jason Merrill Committed by Jason Merrill

re PR c++/45008 (Template code not expanded properly)

	PR c++/45008
	* g++.dg/abi/mangle44.C: New.

From-SVN: r162459
parent 5fdba872
2010-07-23 Jason Merrill <jason@redhat.com>
PR c++/45008
* g++.dg/abi/mangle44.C: New.
2010-06-23 Uros Bizjak <ubizjak@gmail.com> 2010-06-23 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/*.c: Do not require sse{,2,3,4} effective target * gcc.target/i386/*.c: Do not require sse{,2,3,4} effective target
......
// PR c++/45008
template <typename T>
struct A
{
void fn1 () {
struct Nested {
static void fn2 () { }
};
Nested::fn2();
}
};
void fn3 () {
A<double> a;
a.fn1();
}
// { dg-final { scan-assembler-not "_ZZN1AIT_E3fn1EvEN6Nested3fn2Ev" } }
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