Commit acacca10 by Jason Merrill

new

From-SVN: r35312
parent 9076e292
// Bug: Checking whether A depends on template parms, we crash because
// __builtin_va_list lacks TYPE_LANG_SPECIFIC.
// Build don't link:
void f (__builtin_va_list arg)
{
enum { a } A;
}
// Build don't link:
//Purpose:
// Test nested template as template template arg.
//Result:
// Before the patch, got:
// `C' is not a template
template <template <typename S> class T>
struct A
{
T<int> m_t;
};
struct B
{
template <typename V>
struct C
{
V m_v;
};
};
A<B::C> z;
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