Commit 370df4c8 by Gabriel Dos Reis

Testcase from PR #3350

From-SVN: r44820
parent 4c8c7b0d
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
// Origin: philippeb@videotron.ca
// { dg-do compile }
struct B
{
int i;
};
template <class _T, class _M, _M _T::* _V>
struct A;
template <class _T, int _T::* _V>
struct A<_T, int, _V>
{
};
int main()
{
A<B, int, & B::i> a;
}
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