Commit 4c692e19 by Jason Merrill

new

From-SVN: r26049
parent c7699c58
// Test that partial ordering works between conversion ops from different
// classes.
// From Jason Merrill <jason@cygnus.com>
struct A {
template <class T> operator T*() { return 0; }
};
struct B : public A {
template <class T> operator T();
};
int main()
{
B b;
(void*) b;
}
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