diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/scoping5.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.jason/scoping5.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/scoping5.C b/gcc/testsuite/g++.old-deja/g++.jason/scoping5.C new file mode 100755 index 0000000..4572da7 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/scoping5.C @@ -0,0 +1,6 @@ +// Bug: g++ thinks that A defines operator delete, and tries to call it. +// Build don't link: + +struct A { + ~A () { ::operator delete (0); } +}; |