Files
clang-p2996/flang/test/Parser/non-breaking-space.f90
Peter Klausler 143f3fc402 [flang] Accept a non-breaking space character in source (#106611)
Accept non-breaking space characters (Latin-1 '\xa0', UTF-8 '\xc2'
'\xa0') in source code, converting them into regular spaces in the
cooked character stream when not in character literals.
2024-09-04 10:54:00 -07:00

7 lines
192 B
Fortran
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
! RUN: %flang_fc1 -fsyntax-only %s
! This line contains the Latin-1 NBSP (non-breaking space) character '\xa0'
x= 1.
! This line contains the UTF-8 encoding of NBSP ('\xc2' '\xa0')
x= 1.
end