Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC++ / 2009-09-04-modify-crash.cpp
blobac16f8c36d1865b38edf850c775943104c0ab14a
1 // RUN: %llvmgxx %s -emit-llvm -fapple-kext -S -o -
2 // The extra check in 71555 caused this to crash on Darwin X86
3 // in an assert build.
4 class foo {
5 virtual ~foo ();
6 };
7 foo::~foo(){}