1: %% Comment with <html> code &amp; </html>
    2: %% and also some "quotes" and 'single quotes'
    3: 
    4: -module(m1).
    5: 
    6: -compile(export_all).
    7: 
    8: -include("header1.hrl").
    9: -include("header2.hrl").
   10: 
   11: -define(MACRO1,value).
   12: 
   13: %%% Comment
   14: foo(x) ->
   15:     %% Comment
   16:     ok_x;
   17: foo(y) ->
   18:     %% Second clause
   19:     ok_y.
   20: 
   21: 'quoted_foo'() ->
   22:     ok.
   23: 
   24: 'quoted_foo_with_"_and_/'() ->
   25:     ok.
   26: 
   27: 'quoted_foo_with_(_and_)'() ->
   28:     ok.
   29: 
   30: 'quoted_foo_with_<_and_>'() ->
   31:     ok.
   32: 
   33: bar() ->
   34:     do_something(),
   35: ok. % indentation error, OTP-9710
   36: 
   37: %% Function inside macro definition
   38: ?MACRO_DEFINING_A_FUNCTION.
   39: 
   40: %% Two function one one line
   41: quuux() -> ok. quuuux() -> ok.
   42: 
   43: %% do_something/0 does something
   44: do_something() ->
   45:     ?MACRO1.
   46: %% comments after last line