1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-unused %s
2 // expected-no-diagnostics
4 // Tests that overload resolution is treated as an unevaluated context.
22 static inline B
*concrete(Foo
*node
) {
23 int a
[sizeof(T
) ? -1 : -1];
24 return reinterpret_cast<B
*>(node
);
33 inline operator B
*() const { return concrete(i
); }
34 inline bool operator!=(const It
&o
) const { return i
!=
40 Wibble
<void*>::It a
, b
;