diff options
-rw-r--r-- | llvm/test/FrontendC++/2009-09-04-modify-crash.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/FrontendC++/2009-09-04-modify-crash.cpp b/llvm/test/FrontendC++/2009-09-04-modify-crash.cpp new file mode 100644 index 00000000000..ac16f8c36d1 --- /dev/null +++ b/llvm/test/FrontendC++/2009-09-04-modify-crash.cpp @@ -0,0 +1,7 @@ +// RUN: %llvmgxx %s -emit-llvm -fapple-kext -S -o - +// The extra check in 71555 caused this to crash on Darwin X86 +// in an assert build. +class foo { + virtual ~foo (); +}; +foo::~foo(){} |