6 function bar() bind(c) ! { dg-error "cannot be an array" }
7 integer(c_int) :: bar(5)
10 function my_string_func() bind(c) ! { dg-error "cannot be a character string" }
11 character(kind=c_char, len=10) :: my_string_func
12 my_string_func = 'my_string' // C_NULL_CHAR
13 end function my_string_func