xref: /llvm-project/flang/test/Semantics/bind-c10.f90 (revision 69373a5d3f45771cfb1896f9938e2444bedb7b33)
1*69373a5dSPeter Klausler! RUN: %python %S/test_errors.py %s %flang_fc1
2*69373a5dSPeter Klausler!ERROR: Symbol has a BIND(C) name that is not a valid C language identifier
3*69373a5dSPeter Klauslersubroutine bang() bind(C,name='!')
4*69373a5dSPeter Klauslerend
5*69373a5dSPeter Klausler!ERROR: Symbol has a BIND(C) name that is not a valid C language identifier
6*69373a5dSPeter Klauslersubroutine cr() bind(C,name=achar(13))
7*69373a5dSPeter Klauslerend
8*69373a5dSPeter Klausler!ERROR: Symbol has a BIND(C) name that is not a valid C language identifier
9*69373a5dSPeter Klauslersubroutine beast() bind(C,name="666")
10*69373a5dSPeter Klauslerend
11