blob: afe2cfc30019d80fe44109fe28c55461dcac5459 [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s
template<typename A> class s0 {
template<typename B> class s1 : public s0<A> {
~s1() {}
s0<A> ms0;
};
};
struct Incomplete;
template<typename T>
void destroy_me(T me) {
me.~T();
}
template void destroy_me(Incomplete*);