diff options
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.jason/crash6.C')
-rwxr-xr-x | gcc_arm/testsuite/g++.old-deja/g++.jason/crash6.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.jason/crash6.C b/gcc_arm/testsuite/g++.old-deja/g++.jason/crash6.C new file mode 100755 index 0000000..8e0a9c8 --- /dev/null +++ b/gcc_arm/testsuite/g++.old-deja/g++.jason/crash6.C @@ -0,0 +1,9 @@ +// Bug: g++ dies on the below. +// Build don't link: + +class A { }; +void f () +{ + A a; + a.~a(); // ERROR - causes segfault +} |