Issue 148922
Summary [flang] Fortran pointer shall not be allowed as a memeber of a BIND(C) common block
Labels flang:frontend
Assignees
Reporter DanielCChen
    Consider the following code:
```
module mod
implicit none
bind(c) :: /blk/
common /blk/ x
integer, pointer :: x
end module
```

`x` should not be allowed as the member of bind(c) common block `blk` as `x` that has the POINTER attribute is not C-interoparable.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to