// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s

struct basic_ios{~basic_ios(); };

template<typename _CharT> struct basic_istream : virtual public basic_ios {
  virtual ~basic_istream(){}
};

template<typename _CharT> struct basic_iostream : public basic_istream<_CharT>
{
  virtual ~basic_iostream(){}
};

basic_iostream<char> res;

int main() {
}

// CHECK: call void @_ZN9basic_iosD2Ev

Test for my last patch.
Test for my last patch.



git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@90159 91177308-0d34-0410-b5e6-96231b3b80d8
