Issue 89439
Summary [Flang] BIND(C): Incorrect diagnose of entity with binding attribute
Labels bug, flang:frontend
Assignees
Reporter DanielCChen
    Consider the following test case:
```
module m
  use, intrinsic :: iso_c_binding
  bind(c, name = "A") :: a          !! ERROR  error: The entity 'a' has multiple BIND names
  integer(c_int) :: a = 4
end
```

The code seems standard conforming to me. 
XLF, gfortran and ifort all accept the above code.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to