[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / bind-c10.f90
blobc562e6aee31e89bd62258fc689c3dc0bd1eed5b4
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 !ERROR: Symbol has a BIND(C) name that is not a valid C language identifier
3 subroutine bang() bind(C,name='!')
4 end
5 !ERROR: Symbol has a BIND(C) name that is not a valid C language identifier
6 subroutine cr() bind(C,name=achar(13))
7 end
8 !ERROR: Symbol has a BIND(C) name that is not a valid C language identifier
9 subroutine beast() bind(C,name="666")
10 end