]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
same_type_as_1.f03: Correct for improved message.
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 20 Dec 2012 18:03:37 +0000 (18:03 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 20 Dec 2012 18:03:37 +0000 (18:03 +0000)
2012-12-20  Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/same_type_as_1.f03: Correct for improved message.

From-SVN: r194639

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/same_type_as_1.f03

index 1f401cd7ac7749874c93c9c89f2918a4ab756862..c7cb23362340c0aedd8f8cacde73b03f2a6cd300 100644 (file)
@@ -18,7 +18,7 @@
        * gfortran.dg/unlimited_polymorphic_1.f03: New test.
        * gfortran.dg/unlimited_polymorphic_2.f03: New test.
        * gfortran.dg/unlimited_polymorphic_3.f03: New test.
-       * gfortran.dg/same_type_as.f03: Correct for improved message.
+       * gfortran.dg/same_type_as_1.f03: Correct for improved message.
 
 2012-12-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
index 45b5d26627fa7f761b278d398c2cc6980c27924d..5f349c7ba075c4ea3cbf0ad58fa9bc9df9e0b276 100644 (file)
@@ -6,7 +6,7 @@
 
  type :: t1
   integer :: i
- end type 
+ end type
 
  type :: ts
   sequence
 
  integer :: i
 
- print *, SAME_TYPE_AS (i,x1)   ! { dg-error "must be of a derived type" }
+ print *, SAME_TYPE_AS (i,x1)   ! { dg-error "cannot be of type INTEGER" }
  print *, SAME_TYPE_AS (x1,x2)  ! { dg-error "must be of an extensible type" }
 
- print *, EXTENDS_TYPE_OF (i,x1)   ! { dg-error "must be of a derived type" }
+ print *, EXTENDS_TYPE_OF (i,x1)   ! { dg-error "cannot be of type INTEGER" }
  print *, EXTENDS_TYPE_OF (x1,x2)  ! { dg-error "must be of an extensible type" }
 
 end