We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f8c8d commit e4273abCopy full SHA for e4273ab
src/tests/string/test_string_operator.f90
@@ -99,11 +99,13 @@ subroutine test_ne
99
end subroutine test_ne
100
101
subroutine test_concat
102
- type(string_type) :: string
+ type(string_type) :: a, b
103
104
- string = "Hello, "
105
- string = string // "World!"
106
- call check(len(string) == 13)
+ a = "a"
+ b = "b"
+ call check("a" // b == "ab")
107
+ call check( a // "b" == "ab")
108
+ call check( a // b == "ab")
109
end subroutine test_concat
110
111
end module test_string_operator
0 commit comments