Files
boost_optional/test/optional_test_COMPILER_CONVERSION_BUGS2.cpp
T

14 lines
100 B
C++
Raw Normal View History

2014-09-05 16:15:39 +02:00
struct A
{
A(int) {}
};
struct B
{
operator int() { return 0; }
};
int main()
{
A t = B();
}