Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: gcc/gcc/testsuite/gfortran.dg/merge_char_1.f90

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 ! { dg-do run } 1 ! { dg-do run }
2 ! { dg-options "-std=legacy" }
3 !
2 ! PR 15327 4 ! PR 15327
3 ! The merge intrinsic didn't work for strings 5 ! The merge intrinsic didn't work for strings
4 character*2 :: c(2) 6 character*2 :: c(2)
5 c = merge( (/ "AA", "BB" /), (/ "CC", "DD" /), (/ .TRUE., .FALSE. /) ) 7 c = merge( (/ "AA", "BB" /), (/ "CC", "DD" /), (/ .TRUE., .FALSE. /) )
6 if (c(1).ne."AA" .or. c(2).ne."DD") call abort () 8 if (c(1).ne."AA" .or. c(2).ne."DD") call abort ()
7 end 9 end
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/maxloc_bounds_7.f90 ('k') | gcc/gcc/testsuite/gfortran.dg/module_equivalence_6.f90 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698