:- module bug.
:- interface.
:- import_module io.
:- pred main(state::di, state::uo) is det.

:- implementation.
:- import_module char.
main(!IO) :-
    % The following line will not compile if uncommented.
    V1 = '.', print(V1, !IO), nl(!IO),
    % The following line compiles.
    V2 = ('.'), print(V2, !IO), nl(!IO),
    % The following line also compiles.
    V3 = 'T', print(V3, !IO), nl(!IO).
