blob: 75c782ac8ffd1e0c1307b6e93479eca83ea902d5 [file] [log] [blame]
// PR c++/63757
// { dg-do compile { target c++11 } }
typedef decltype(nullptr) nullptr_t;
void bar(void*) {}
struct foo
{
operator nullptr_t()
{
return nullptr;
}
};
int main()
{
bar(foo());
}