Author: efriedma
Date: Thu Dec  3 22:30:55 2009
New Revision: 90541

URL: http://llvm.org/viewvc/llvm-project?rev=90541&view=rev
Log:
Test for non-canonical decl and vtables.


Added:
    cfe/trunk/test/CodeGenCXX/virt-canonical-decl.cpp

Added: cfe/trunk/test/CodeGenCXX/virt-canonical-decl.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virt-canonical-decl.cpp?rev=90541&view=auto

==============================================================================
--- cfe/trunk/test/CodeGenCXX/virt-canonical-decl.cpp (added)
+++ cfe/trunk/test/CodeGenCXX/virt-canonical-decl.cpp Thu Dec  3 22:30:55 2009
@@ -0,0 +1,19 @@
+// RUN: clang-cc %s -emit-llvm-only
+
+class Base {
+public:
+   virtual ~Base();
+};
+
+Base::~Base()
+{
+}
+
+class Foo : public Base {
+public:
+   virtual ~Foo();
+};
+
+Foo::~Foo()
+{
+}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to