]> gcc.gnu.org Git - gcc.git/commitdiff
Add missing file from previous commit r203586:
authorTobias Burnus <burnus@gcc.gnu.org>
Tue, 15 Oct 2013 06:20:01 +0000 (08:20 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 15 Oct 2013 06:20:01 +0000 (08:20 +0200)
2013-10-15  Tobias Burnus  <burnus@net-b.de>
        PR fortran/58652
        * gfortran.dg/unlimited_polymorphic_11.f90: New.

From-SVN: r203587

gcc/testsuite/gfortran.dg/unlimited_polymorphic_11.f90 [new file with mode: 0644]

diff --git a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_11.f90 b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_11.f90
new file mode 100644 (file)
index 0000000..5b73b32
--- /dev/null
@@ -0,0 +1,14 @@
+! { dg-do compile }
+! { dg-options "-fdump-tree-original" }
+!
+! PR fortran/58652
+!
+! Contributed by Vladimir Fuka
+!
+  class(*),allocatable :: a
+  class(*),allocatable :: c
+  call move_alloc(a,c)
+end
+
+! { dg-final { scan-tree-dump "\\(struct __vtype__STAR \\*\\) c._vptr = \\(struct __vtype__STAR \\*\\) a._vptr;" "original" } }
+! { dg-final { cleanup-tree-dump "original" } }
This page took 0.068452 seconds and 5 git commands to generate.