Verify the predicates on icmp/fcmp. Suggested by Jeff Yasskin!
[llvm.git] / test / FrontendC++ / 2006-09-12-OpaqueStructCrash.cpp
blobf3160e84e2c2dde41f614ae3efdc683d4f921b57
1 // RUN: %llvmgxx -O3 -S -o - %s
3 struct A {
4 virtual ~A();
5 };
7 template <typename Ty>
8 struct B : public A {
9 ~B () { delete [] val; }
10 private:
11 Ty* val;
14 template <typename Ty>
15 struct C : public A {
16 C ();
17 ~C ();
20 template <typename Ty>
21 struct D : public A {
22 D () {}
23 private:
24 B<C<Ty> > blocks;
27 template class D<double>;