X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fcopy1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fcopy1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=5cc68a5623e093ccb26b0a3e0da5f707739975fd;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/copy1.C b/gcc/testsuite/g++.old-deja/g++.other/copy1.C deleted file mode 100644 index 5cc68a56..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/copy1.C +++ /dev/null @@ -1,25 +0,0 @@ -// Bug: expand_vec_init doesn't copy arrays of builtin types. - -struct B { - B() { } - B(const B&) { } -}; - -struct A -{ - B b; - int ar[5]; -}; - -int main() -{ - A a; - for (int i = 0; i < 5; ++i) - a.ar[i] = i; - - A a2 = a; - - for (int i = 0; i < 5; ++i) - if (a2.ar[i] != a.ar[i]) - return 1; -}